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.00966/0.00966, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001502/0.001502, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.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.97/2.97, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3921, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002254/0.3944, allocations: 0.6565 MB / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.3962, allocations: 1.199 MB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.3963, allocations: 0 / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.4e-05/0.3963, allocations: 3.938 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.327e-05/0.3964, allocations: 11.88 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000677/0.3971, allocations: 218.4 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.3974, allocations: 187.7 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3975, allocations: 8 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.686e-05/0.3976, allocations: 67.89 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.3977, allocations: 59.84 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.3978, allocations: 16 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.966e-05/0.3979, allocations: 35.98 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.3979, allocations: 11.86 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.592e-05/0.398, allocations: 63.81 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.3982, allocations: 151.5 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3982, allocations: 0 / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.063e-06/0.3982, allocations: 0 / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3983, allocations: 0 / 1.169 GB, free: 4.141 MB / 0.92 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.0005852/0.3988, allocations: 438.7 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3989, allocations: 12.03 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.399, allocations: 12.89 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.3991, allocations: 168.3 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3991, allocations: 4.375 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.3992, allocations: 12.38 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.3993, allocations: 50.23 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3993, allocations: 192 / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3994, allocations: 3.938 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3994, allocations: 0 / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/0.3994, allocations: 19.92 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.3999, allocations: 352.8 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.4, allocations: 42.44 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.4001, allocations: 16.86 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.4001, allocations: 0 / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.4003, allocations: 83.39 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4003, allocations: 0 / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002717/0.4006, allocations: 109.8 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.4006, allocations: 51.41 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4007, allocations: 113.8 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.4008, allocations: 29.7 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.4008, allocations: 104 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.4009, allocations: 16.22 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.401, allocations: 49.69 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4012, allocations: 326.8 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.4013, allocations: 59.97 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.4015, allocations: 100.2 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.4017, allocations: 159.6 kB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4017, allocations: 4 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003996/0.4021, allocations: 256.9 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.479e-05/0.4022, allocations: 71.39 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.4022, allocations: 0 / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.4022, allocations: 0 / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.422e-05/0.4022, allocations: 7.938 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.4023, allocations: 4.062 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.4026, allocations: 56.02 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.4027, allocations: 19.98 kB / 1.172 GB, free: 1.137 MB / 0.92 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.0001162/0.4028, allocations: 121.8 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.4028, allocations: 11.94 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.4029, allocations: 4.375 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4029, allocations: 0 / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4029, allocations: 4 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4029, allocations: 0 / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.4031, allocations: 181.6 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4031, allocations: 0 / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.041e-05/0.4031, allocations: 4 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4031, allocations: 0 / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.4031, allocations: 3.938 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4031, allocations: 3.938 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4031, allocations: 0 / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.4033, allocations: 117 kB / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.4034, allocations: 85.14 kB / 1.172 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.4034, allocations: 3.938 kB / 1.172 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.857e-05/0.4034, allocations: 0 / 1.172 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.4035, allocations: 11.98 kB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.4035, allocations: 0 / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.728e-05/0.4035, allocations: 91.27 kB / 1.172 GB, free: 416 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4035, allocations: 0 / 1.172 GB, free: 416 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002541/0.4038, allocations: 28 kB / 1.173 GB, free: 388 kB / 0.92 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.0001933/0.404, allocations: 119.2 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003523/0.4044, allocations: 246.7 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4044, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.693e-05/0.4044, allocations: 23.94 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.4047, allocations: 15.98 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.4051, allocations: 154.8 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.4054, allocations: 0.6885 MB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.784e-05/0.4054, allocations: 4 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.4054, allocations: 15.44 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.4054, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of Templates: time 0.004899/0.4103, allocations: 1.845 MB / 1.176 GB, free: 13.21 MB / 0.9356 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/jenkins/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