Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 99.19 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 182.4 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437.8 MB / 0.7128 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003747, allocations: 12 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6853/0.6857, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0008418/0.6866, allocations: 401 kB / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.6881, allocations: 1.191 MB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.6881, allocations: 4 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.6881, allocations: 7.938 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/0.6882, allocations: 11.92 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.6888, allocations: 199.1 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.689, allocations: 151.7 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.6891, allocations: 12 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.863e-05/0.6892, allocations: 59.89 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.6893, allocations: 47.86 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.6893, allocations: 8 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.583e-05/0.6894, allocations: 23.92 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.6894, allocations: 4 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.298e-05/0.6895, allocations: 81.52 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.6897, allocations: 99.75 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6897, allocations: 0 / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6897, allocations: 0 / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.6897, allocations: 0 / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004573/0.6901, allocations: 416.7 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.6902, allocations: 8.031 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.6902, allocations: 8.938 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.6904, allocations: 172.2 kB / 1.027 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.6904, allocations: 8.375 kB / 1.027 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.6904, allocations: 8.375 kB / 1.027 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.6906, allocations: 50.23 kB / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.6906, allocations: 192 / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.6906, allocations: 7.938 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.6906, allocations: 7.938 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.243e-05/0.6906, allocations: 19.92 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.6911, allocations: 340.8 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.12e-05/0.6912, allocations: 38.52 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.6913, allocations: 12.94 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.6913, allocations: 8 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.6915, allocations: 87.22 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.6915, allocations: 3.938 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002596/0.6918, allocations: 101.7 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.6918, allocations: 55.41 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.6919, allocations: 125.7 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.692, allocations: 29.7 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.692, allocations: 88.14 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.692, allocations: 19.81 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.6921, allocations: 25.7 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6922, allocations: 314.8 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.6923, allocations: 63.95 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.6925, allocations: 89.52 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.6927, allocations: 167.6 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6927, allocations: 0 / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003961/0.6931, allocations: 252.9 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/0.6931, allocations: 67.39 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6932, allocations: 4.469 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.6932, allocations: 4.125 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.614e-05/0.6932, allocations: 11.94 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.6932, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/0.6936, allocations: 79.78 kB / 1.029 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.6937, allocations: 15.92 kB / 1.029 GB, free: 10.63 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.6938, allocations: 125.8 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.6938, allocations: 11.89 kB / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.6938, allocations: 4.375 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6938, allocations: 4 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.6939, allocations: 4 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6939, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.694, allocations: 177.6 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.694, allocations: 3.938 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-05/0.694, allocations: 7.922 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.694, allocations: 0 / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.6941, allocations: 8.062 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6941, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.6941, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.6942, allocations: 117.3 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.6943, allocations: 81.02 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.6943, allocations: 0 / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.117e-05/0.6943, allocations: 4 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.6944, allocations: 3.984 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.6944, allocations: 8 kB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.116e-05/0.6944, allocations: 91.27 kB / 1.029 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6945, allocations: 0 / 1.029 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002315/0.6947, allocations: 28 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001847/0.6949, allocations: 123.1 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003551/0.6952, allocations: 246.6 kB / 1.03 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6953, allocations: 0 / 1.03 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.513e-05/0.6953, allocations: 28 kB / 1.03 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.6956, allocations: 17.7 kB / 1.03 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.6959, allocations: 197.2 kB / 1.03 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.6962, allocations: 0.6848 MB / 1.03 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.6962, allocations: 11.72 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of SimCode: time 1.332e-06/0.6962, allocations: 0 / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of Templates: time 0.003041/0.6993, allocations: 1.382 MB / 1.032 GB, free: 7.117 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches