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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001268/0.001268, allocations: 108.4 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 181.7 kB / 17.34 MB, free: 5.742 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.536/1.536, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.59/2.59, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.89 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153/1.154, allocations: 151.6 MB / 1.167 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002211/1.157, allocations: 0.6565 MB / 1.168 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002054/1.159, allocations: 1.193 MB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.368e-05/1.159, allocations: 0 / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/1.159, allocations: 7.922 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/1.159, allocations: 11.92 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008569/1.16, allocations: 214 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/1.16, allocations: 187.6 kB / 1.17 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/1.16, allocations: 19.98 kB / 1.17 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/1.16, allocations: 59.95 kB / 1.17 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/1.161, allocations: 63.78 kB / 1.17 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/1.161, allocations: 16 kB / 1.17 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/1.161, allocations: 27.98 kB / 1.17 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/1.161, allocations: 11.98 kB / 1.17 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/1.161, allocations: 55.83 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/1.161, allocations: 151.6 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.161, allocations: 4 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/1.161, allocations: 0 / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.067e-05/1.161, allocations: 0 / 1.17 GB, free: 1.406 MB / 0.8887 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.0006629/1.162, allocations: 440.5 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.162, allocations: 8.922 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.539e-05/1.162, allocations: 16.83 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/1.162, allocations: 168.3 kB / 1.171 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/1.162, allocations: 8.375 kB / 1.171 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/1.162, allocations: 12.38 kB / 1.171 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/1.162, allocations: 50.23 kB / 1.171 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/1.162, allocations: 192 / 1.171 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/1.162, allocations: 3.938 kB / 1.171 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/1.162, allocations: 4 kB / 1.171 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.262e-05/1.163, allocations: 12 kB / 1.171 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/1.163, allocations: 352.7 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/1.163, allocations: 34.5 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/1.163, allocations: 20.86 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/1.163, allocations: 0 / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/1.163, allocations: 83.39 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 3.176e-06/1.163, allocations: 3.984 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0002969/1.164, allocations: 105.6 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/1.164, allocations: 51.41 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/1.164, allocations: 113.8 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/1.164, allocations: 37.7 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/1.164, allocations: 100 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/1.164, allocations: 3.906 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/1.164, allocations: 49.69 kB / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.164, allocations: 323.1 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/1.164, allocations: 59.97 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/1.165, allocations: 101.1 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/1.165, allocations: 159.6 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.165, allocations: 0 / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004768/1.165, allocations: 261 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.14e-05/1.165, allocations: 75.39 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.165, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.165, allocations: 4 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.31e-05/1.165, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/1.166, allocations: 4 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/1.166, allocations: 63.72 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/1.166, allocations: 11.98 kB / 1.173 GB, free: 14.42 MB / 0.9044 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.0001537/1.166, allocations: 132.4 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/1.166, allocations: 4 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/1.166, allocations: 12.36 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.166, allocations: 0 / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.166, allocations: 0 / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/1.166, allocations: 85.02 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/1.166, allocations: 0 / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/1.166, allocations: 3.938 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/1.166, allocations: 15.98 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001734/1.167, allocations: 160.9 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002118/1.167, allocations: 251.1 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.015e-05/1.167, allocations: 32.03 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.264e-05/1.167, allocations: 95.3 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of Backend: time 3.01e-07/1.167, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006759/1.168, allocations: 313.1 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007278/1.168, allocations: 0.6005 MB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.005149/1.173, allocations: 1.884 MB / 1.176 GB, free: 10.75 MB / 0.9044 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