Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001541/0.001541, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001781/0.001781, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.534/1.534, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.593/2.593, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8439/0.8452, allocations: 140.4 MB / 0.9489 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002122/0.8474, allocations: 0.7261 MB / 0.9496 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002065/0.8495, allocations: 1.203 MB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.8495, allocations: 1.344 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.105e-05/0.8496, allocations: 0 / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.949e-05/0.8497, allocations: 13.17 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008667/0.8506, allocations: 200.9 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.8509, allocations: 153 kB / 0.9512 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.851, allocations: 8.781 kB / 0.9512 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.8512, allocations: 63.28 kB / 0.9512 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.8513, allocations: 41.5 kB / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.8513, allocations: 8 kB / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.8514, allocations: 31.34 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.8515, allocations: 8.219 kB / 0.9513 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.8516, allocations: 54.52 kB / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.8519, allocations: 136.8 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.8519, allocations: 5.953 kB / 0.9515 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8519, allocations: 0 / 0.9515 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.8519, allocations: 0 / 0.9515 GB, free: 7.285 MB / 0.7169 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.0006915/0.8526, allocations: 438.5 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.8527, allocations: 12.66 kB / 0.9519 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.115e-05/0.8528, allocations: 9.094 kB / 0.9519 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.8529, allocations: 178.5 kB / 0.9521 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.8529, allocations: 8.125 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.853, allocations: 9.969 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.8531, allocations: 43.12 kB / 0.9522 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.8531, allocations: 5.578 kB / 0.9522 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.8532, allocations: 3.938 kB / 0.9522 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.8532, allocations: 1.094 kB / 0.9522 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.457e-05/0.8532, allocations: 11.28 kB / 0.9522 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.8538, allocations: 354.4 kB / 0.9525 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.854, allocations: 36.47 kB / 0.9526 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.854, allocations: 18.89 kB / 0.9526 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.854, allocations: 1.094 kB / 0.9526 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.8542, allocations: 87.52 kB / 0.9527 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.8542, allocations: 5.25 kB / 0.9527 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002681/0.8545, allocations: 99.56 kB / 0.9528 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.8545, allocations: 56.78 kB / 0.9528 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/0.8546, allocations: 122.7 kB / 0.9529 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.8546, allocations: 28.89 kB / 0.953 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.8547, allocations: 93.5 kB / 0.9531 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.8547, allocations: 14.86 kB / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.139e-05/0.8548, allocations: 47.5 kB / 0.9531 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.8549, allocations: 325 kB / 0.9534 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.855, allocations: 66.42 kB / 0.9535 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.8552, allocations: 87.3 kB / 0.9536 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.8554, allocations: 163.3 kB / 0.9537 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8554, allocations: 1.781 kB / 0.9537 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004618/0.8558, allocations: 257.1 kB / 0.954 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.8559, allocations: 69.05 kB / 0.954 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8559, allocations: 1.281 kB / 0.954 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.856, allocations: 6.234 kB / 0.954 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.704e-05/0.856, allocations: 2.062 kB / 0.954 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.856, allocations: 6.125 kB / 0.9541 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.8564, allocations: 63.94 kB / 0.9541 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.8564, allocations: 16.45 kB / 0.9541 GB, free: 4.793 MB / 0.7169 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 8.562e-05/0.8565, allocations: 122.5 kB / 0.9542 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.8566, allocations: 10.8 kB / 0.9543 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.8566, allocations: 10.25 kB / 0.9543 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.8566, allocations: 5.188 kB / 0.9543 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8566, allocations: 0 / 0.9543 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.8566, allocations: 64 / 0.9543 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.8567, allocations: 181.5 kB / 0.9544 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8567, allocations: 0 / 0.9544 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.198e-06/0.8567, allocations: 1.188 kB / 0.9544 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.8568, allocations: 1.281 kB / 0.9544 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.8568, allocations: 5.062 kB / 0.9545 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.8568, allocations: 1.25 kB / 0.9545 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8568, allocations: 0 / 0.9545 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.8569, allocations: 124.4 kB / 0.9546 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.857, allocations: 82.52 kB / 0.9547 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.857, allocations: 1.562 kB / 0.9547 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.852e-05/0.857, allocations: 0 / 0.9547 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.8571, allocations: 7.922 kB / 0.9547 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.8571, allocations: 2.219 kB / 0.9547 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.8571, allocations: 91.23 kB / 0.9548 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8571, allocations: 0 / 0.9548 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002504/0.8574, allocations: 34.56 kB / 0.9548 GB, free: 4.137 MB / 0.7169 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.0001978/0.8576, allocations: 103.8 kB / 0.9549 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004062/0.858, allocations: 249 kB / 0.9551 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.858, allocations: 0 / 0.9551 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.861e-05/0.8581, allocations: 23.34 kB / 0.9551 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.8584, allocations: 23.27 kB / 0.9552 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.8588, allocations: 173.9 kB / 0.9553 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.8591, allocations: 0.6887 MB / 0.956 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.8591, allocations: 8.031 kB / 0.956 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.8591, allocations: 14.72 kB / 0.956 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of SimCode: time 1.81e-07/0.8591, allocations: 0 / 0.956 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of Templates: time 0.004793/0.8639, allocations: 1.756 MB / 0.9577 GB, free: 2.055 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches