Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, 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.001828/0.001828, allocations: 196.6 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.391/2.391, allocations: 390.2 MB / 0.6642 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8322/0.8335, allocations: 140.4 MB / 0.9489 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001966/0.8356, allocations: 0.6093 MB / 0.9495 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.208e-05/0.8356, allocations: 5.375 kB / 0.9495 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.8357, allocations: 0 / 0.9495 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.65e-05/0.8357, allocations: 0 / 0.9495 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.493e-05/0.8357, allocations: 1.375 kB / 0.9495 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.952e-05/0.8358, allocations: 0 / 0.9495 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.604e-05/0.8359, allocations: 9.312 kB / 0.9496 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.89e-05/0.8359, allocations: 1.375 kB / 0.9496 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.544e-05/0.8359, allocations: 0 / 0.9496 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.21e-05/0.836, allocations: 5.359 kB / 0.9496 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.836, allocations: 0 / 0.9496 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.177e-06/0.836, allocations: 0 / 0.9496 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.836, allocations: 4 kB / 0.9496 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.8361, allocations: 5.359 kB / 0.9496 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.199e-05/0.8361, allocations: 5.312 kB / 0.9496 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.8361, allocations: 0 / 0.9496 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8361, allocations: 3.938 kB / 0.9496 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.8361, allocations: 0 / 0.9496 GB, free: 8.758 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002766/0.8364, allocations: 315.7 kB / 0.9499 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.8365, allocations: 8.25 kB / 0.9499 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.8365, allocations: 2.312 kB / 0.9499 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.8366, allocations: 168.3 kB / 0.9501 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.8366, allocations: 1.75 kB / 0.9501 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.8366, allocations: 384 / 0.9501 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.665e-05/0.8368, allocations: 36.94 kB / 0.9501 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.8368, allocations: 192 / 0.9501 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.8368, allocations: 3.938 kB / 0.9501 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.8368, allocations: 0 / 0.9501 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.709e-05/0.8368, allocations: 1.375 kB / 0.9501 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.8371, allocations: 387.6 kB / 0.9505 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.929e-05/0.8372, allocations: 170.5 kB / 0.9506 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.8372, allocations: 80.14 kB / 0.9507 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.8372, allocations: 79.28 kB / 0.9508 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.8372, allocations: 111.2 kB / 0.9509 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.8372, allocations: 0 / 0.9509 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.603e-05/0.8373, allocations: 35 kB / 0.9509 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.8374, allocations: 126.7 kB / 0.951 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/0.8374, allocations: 93.98 kB / 0.9511 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.8374, allocations: 25.7 kB / 0.9512 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.82e-05/0.8375, allocations: 84.14 kB / 0.9512 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.8375, allocations: 0 / 0.9512 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/0.8375, allocations: 15.22 kB / 0.9513 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.274e-05/0.8375, allocations: 312.2 kB / 0.9515 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.159e-06/0.8376, allocations: 0 / 0.9515 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-06/0.8376, allocations: 0 / 0.9515 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.665e-05/0.8376, allocations: 80.64 kB / 0.9516 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.8376, allocations: 75.28 kB / 0.9517 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.642e-05/0.8377, allocations: 36.33 kB / 0.9517 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.8377, allocations: 80.78 kB / 0.9518 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.8377, allocations: 79.28 kB / 0.9519 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/0.8377, allocations: 155.9 kB / 0.952 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.534e-05/0.8378, allocations: 80.66 kB / 0.9521 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-05/0.8378, allocations: 154.5 kB / 0.9523 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.825e-05/0.8378, allocations: 84.59 kB / 0.9523 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.8379, allocations: 84.64 kB / 0.9524 GB, free: 5.664 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 6.742e-05/0.8379, allocations: 265.7 kB / 0.9527 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.838, allocations: 106.3 kB / 0.9528 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.838, allocations: 111.9 kB / 0.9529 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/0.838, allocations: 179.1 kB / 0.9531 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.088e-05/0.8381, allocations: 185.6 kB / 0.9532 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.838e-05/0.8381, allocations: 181.6 kB / 0.9534 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.8383, allocations: 406.5 kB / 0.9538 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.8383, allocations: 106.3 kB / 0.9539 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.687e-05/0.8383, allocations: 101 kB / 0.954 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-05/0.8383, allocations: 181.6 kB / 0.9542 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.8384, allocations: 177.6 kB / 0.9543 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.919e-05/0.8384, allocations: 189.5 kB / 0.9545 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.666e-05/0.8384, allocations: 180.2 kB / 0.9547 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.12e-05/0.8385, allocations: 312.2 kB / 0.955 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.8385, allocations: 179.5 kB / 0.9552 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.8386, allocations: 189.6 kB / 0.9553 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.8387, allocations: 109 kB / 0.9554 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.8387, allocations: 181.6 kB / 0.9556 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.8387, allocations: 102.4 kB / 0.9557 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.038e-05/0.8387, allocations: 76.66 kB / 0.9558 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8387, allocations: 1.375 kB / 0.9558 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002369/0.839, allocations: 96 / 0.9558 GB, free: 2.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001235/0.8391, allocations: 180.4 kB / 0.956 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.666e-05/0.8392, allocations: 1.375 kB / 0.956 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8392, allocations: 0 / 0.956 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.8392, allocations: 3.938 kB / 0.956 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.8395, allocations: 0.529 MB / 0.9565 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.8397, allocations: 150.1 kB / 0.9566 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.8398, allocations: 0.6744 MB / 0.9573 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.075e-05/0.8398, allocations: 3.984 kB / 0.9573 GB, free: 452 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.8398, allocations: 8.812 kB / 0.9573 GB, free: 444 kB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.8398, allocations: 0 / 0.9573 GB, free: 444 kB / 0.7169 GB Notification: Performance of Templates: time 0.001906/0.8417, allocations: 164.5 kB / 0.9574 GB, free: 348 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches