Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005031/0.005031, allocations: 101.1 kB / 15.73 MB, free: 5.996 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.001376/0.001376, allocations: 191.9 kB / 16.67 MB, free: 5.926 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.571/2.571, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.91 kB / 1.054 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8997/0.9012, allocations: 157.4 MB / 1.207 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001683/0.9029, allocations: 0.6542 MB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.9043, allocations: 1.19 MB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.9043, allocations: 4 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.9044, allocations: 3.938 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.9044, allocations: 11.86 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005948/0.905, allocations: 218.2 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.9053, allocations: 187.7 kB / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.9054, allocations: 11.98 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.9055, allocations: 63.89 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.9056, allocations: 63.84 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.9056, allocations: 16 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.469e-05/0.9057, allocations: 27.97 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.9057, allocations: 11.94 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.002e-05/0.9058, allocations: 55.89 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.906, allocations: 153.8 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.906, allocations: 4 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9061, allocations: 0 / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.9061, allocations: 0 / 1.21 GB, free: 10.95 MB / 0.9356 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.0005056/0.9066, allocations: 426.8 kB / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.9066, allocations: 12.03 kB / 1.21 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.201e-05/0.9067, allocations: 38.69 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.9067, allocations: 12.84 kB / 1.21 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.9068, allocations: 172.2 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.9068, allocations: 8.375 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.9069, allocations: 12.38 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.907, allocations: 46.25 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.907, allocations: 7.922 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.907, allocations: 3.938 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.907, allocations: 0 / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.9071, allocations: 12 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.9076, allocations: 352.7 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.268e-05/0.9076, allocations: 38.56 kB / 1.211 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.9077, allocations: 16.86 kB / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.9077, allocations: 0 / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.9079, allocations: 87.38 kB / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.9079, allocations: 0 / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002267/0.9081, allocations: 105.6 kB / 1.211 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.9082, allocations: 55.41 kB / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.463e-05/0.9082, allocations: 117.8 kB / 1.211 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.9083, allocations: 29.7 kB / 1.211 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.9083, allocations: 96.05 kB / 1.211 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.9084, allocations: 15.88 kB / 1.211 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.261e-05/0.9085, allocations: 49.69 kB / 1.212 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.9086, allocations: 318.8 kB / 1.212 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.9087, allocations: 63.89 kB / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.9088, allocations: 96.27 kB / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.909, allocations: 159.5 kB / 1.212 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.909, allocations: 480 / 1.212 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003853/0.9094, allocations: 264.8 kB / 1.212 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.9095, allocations: 71.39 kB / 1.212 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.9095, allocations: 0 / 1.212 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.9095, allocations: 0 / 1.212 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.875e-05/0.9095, allocations: 4 kB / 1.212 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.9096, allocations: 3.938 kB / 1.212 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.9099, allocations: 59.91 kB / 1.213 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.9099, allocations: 19.98 kB / 1.213 GB, free: 7.914 MB / 0.9356 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 9.673e-05/0.91, allocations: 121.8 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.9101, allocations: 4 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.9101, allocations: 4.375 kB / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.9101, allocations: 7.969 kB / 1.213 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9101, allocations: 64 / 1.213 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.9101, allocations: 4 kB / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.9102, allocations: 185.5 kB / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9103, allocations: 0 / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.026e-05/0.9103, allocations: 4 kB / 1.213 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.9103, allocations: 0 / 1.213 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.9103, allocations: 3.984 kB / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9103, allocations: 0 / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9103, allocations: 0 / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.9104, allocations: 117 kB / 1.213 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.9105, allocations: 89.02 kB / 1.213 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.9105, allocations: 0 / 1.213 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.89e-05/0.9105, allocations: 0 / 1.213 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.9106, allocations: 11.98 kB / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.9106, allocations: 7.938 kB / 1.213 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.9106, allocations: 87.27 kB / 1.213 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9106, allocations: 4 kB / 1.213 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002284/0.9109, allocations: 28 kB / 1.213 GB, free: 7.148 MB / 0.9356 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.0004168/0.9113, allocations: 0.6594 MB / 1.214 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003202/0.9116, allocations: 242.7 kB / 1.214 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9116, allocations: 0 / 1.214 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/0.9117, allocations: 35.91 kB / 1.214 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.9119, allocations: 20.23 kB / 1.214 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.9137, allocations: 1.701 MB / 1.216 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.914, allocations: 0.6924 MB / 1.216 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.914, allocations: 4 kB / 1.216 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.914, allocations: 23.42 kB / 1.216 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.914, allocations: 0 / 1.216 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.9319, allocations: 2.953 MB / 1.219 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.422/8.354, allocations: 12.94 kB / 1.219 GB, free: 0.7305 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches