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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_10_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.008254/0.008254, allocations: 100.2 kB / 15.73 MB, free: 6.008 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.001835/0.001835, allocations: 193 kB / 16.67 MB, free: 5.93 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.502/2.502, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001402, allocations: 67.91 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8707/0.8722, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001983/0.8742, allocations: 0.6622 MB / 1.167 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.8758, allocations: 1.197 MB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.838e-05/0.8759, allocations: 0 / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.876, allocations: 3.938 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.784e-05/0.8761, allocations: 15.86 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.8767, allocations: 213.3 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.877, allocations: 187.7 kB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.8771, allocations: 8 kB / 1.168 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.8772, allocations: 63.94 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.8774, allocations: 71.78 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.8774, allocations: 12 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.15e-05/0.8775, allocations: 27.98 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.8775, allocations: 11.98 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.8776, allocations: 59.81 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.8779, allocations: 149.9 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8779, allocations: 0 / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8779, allocations: 0 / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.8779, allocations: 0 / 1.169 GB, free: 1.109 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.0006381/0.8785, allocations: 438.7 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.8786, allocations: 8.922 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.8786, allocations: 34.75 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.795e-05/0.8787, allocations: 12.84 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.8788, allocations: 180.2 kB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.8789, allocations: 4.375 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.8789, allocations: 16.36 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.879, allocations: 50.19 kB / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.8791, allocations: 7.938 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.8791, allocations: 0 / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.8791, allocations: 0 / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.324e-05/0.8791, allocations: 15.98 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.8797, allocations: 348.8 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.655e-05/0.8798, allocations: 38.52 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.8798, allocations: 16.94 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.8798, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.88, allocations: 79.38 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.88, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0002841/0.8803, allocations: 109.5 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.8804, allocations: 55.41 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.8805, allocations: 121.8 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.8806, allocations: 29.7 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.8806, allocations: 92.05 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.8807, allocations: 11.91 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.42e-05/0.8808, allocations: 45.69 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.881, allocations: 326.8 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.8811, allocations: 55.97 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.8813, allocations: 97.5 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.8816, allocations: 163.9 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.8816, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000497/0.8821, allocations: 260.9 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.26e-05/0.8822, allocations: 67.39 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.8822, allocations: 0 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.8822, allocations: 7.938 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.883e-05/0.8823, allocations: 11.91 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.8823, allocations: 4 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.8826, allocations: 59.91 kB / 1.171 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.8827, allocations: 12 kB / 1.171 GB, free: 14.07 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.0001284/0.8828, allocations: 128 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.8828, allocations: 4 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.8828, allocations: 8.375 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.8829, allocations: 4 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.8829, allocations: 0 / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.8829, allocations: 0 / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.8831, allocations: 197.5 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8831, allocations: 0 / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-06/0.8831, allocations: 0 / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8831, allocations: 0 / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.8831, allocations: 0 / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.8831, allocations: 4 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8831, allocations: 0 / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.8833, allocations: 109 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.8834, allocations: 81.02 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.8834, allocations: 7.984 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.954e-05/0.8835, allocations: 0 / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.8835, allocations: 8 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.8835, allocations: 7.984 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.608e-05/0.8836, allocations: 95.16 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8836, allocations: 0 / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002972/0.8839, allocations: 28 kB / 1.172 GB, free: 13.3 MB / 0.9044 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.0006248/0.8846, allocations: 0.667 MB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.8849, allocations: 238.7 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.8849, allocations: 0 / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.05e-05/0.885, allocations: 31.92 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.8852, allocations: 20.23 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.8873, allocations: 1.703 MB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.8877, allocations: 0.6923 MB / 1.175 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.349e-05/0.8877, allocations: 11.98 kB / 1.175 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.8878, allocations: 15.44 kB / 1.175 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.8878, allocations: 0 / 1.175 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.9084, allocations: 2.891 MB / 1.178 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/8.49, allocations: 10.52 kB / 1.178 GB, free: 6.941 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > 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