Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.006394/0.006394, allocations: 97.78 kB / 15.73 MB, free: 5.961 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.001296/0.001296, allocations: 195.3 kB / 16.67 MB, free: 5.883 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.753/2.753, allocations: 469.4 MB / 0.7422 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.91 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8433/0.8448, allocations: 159.1 MB / 1.22 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002064/0.8469, allocations: 0.5428 MB / 1.22 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 5.644e-05/0.847, allocations: 4 kB / 1.22 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.847, allocations: 7.938 kB / 1.22 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.8471, allocations: 0 / 1.22 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.127e-05/0.8471, allocations: 4 kB / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.814e-05/0.8472, allocations: 0 / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.472e-05/0.8472, allocations: 0 / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.231e-05/0.8473, allocations: 10.02 kB / 1.22 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.331e-05/0.8473, allocations: 7.938 kB / 1.22 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.348e-05/0.8474, allocations: 0 / 1.22 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.8474, allocations: 0 / 1.22 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-06/0.8474, allocations: 0 / 1.22 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.8474, allocations: 3.984 kB / 1.22 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.8475, allocations: 8 kB / 1.22 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.082e-05/0.8476, allocations: 0 / 1.22 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8476, allocations: 0 / 1.22 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8476, allocations: 4 kB / 1.22 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.8476, allocations: 0 / 1.22 GB, free: 1.711 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003979/0.848, allocations: 315.4 kB / 1.221 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.8481, allocations: 12.66 kB / 1.221 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.8481, allocations: 30.75 kB / 1.221 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.8481, allocations: 0.9375 kB / 1.221 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.8483, allocations: 172.3 kB / 1.221 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.8483, allocations: 384 / 1.221 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.8483, allocations: 4.375 kB / 1.221 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.588e-05/0.8484, allocations: 26.27 kB / 1.221 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.8485, allocations: 7.922 kB / 1.221 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.8485, allocations: 0 / 1.221 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.8485, allocations: 0 / 1.221 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.8485, allocations: 4 kB / 1.221 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.8489, allocations: 379.5 kB / 1.221 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.375e-05/0.849, allocations: 177 kB / 1.221 GB, free: 452 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.8491, allocations: 84.08 kB / 1.221 GB, free: 364 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.8491, allocations: 75.28 kB / 1.222 GB, free: 288 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.079e-05/0.8492, allocations: 113.8 kB / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.8492, allocations: 0 / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.853e-05/0.8493, allocations: 29.64 kB / 1.222 GB, free: 128 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/0.8494, allocations: 130.7 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.8495, allocations: 89.86 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.8495, allocations: 25.7 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.8496, allocations: 88.12 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-06/0.8496, allocations: 0 / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.8496, allocations: 13.84 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8498, allocations: 314.8 kB / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/0.8498, allocations: 0 / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.8498, allocations: 0 / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.883e-05/0.8499, allocations: 79.28 kB / 1.222 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.287e-05/0.8499, allocations: 79.22 kB / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.859e-05/0.85, allocations: 25.7 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.642e-05/0.8501, allocations: 87.22 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.874e-05/0.8501, allocations: 83.31 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-05/0.8502, allocations: 154.5 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.565e-05/0.8503, allocations: 83.2 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.518e-05/0.8503, allocations: 154.6 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.634e-05/0.8504, allocations: 87.16 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.8505, allocations: 75.28 kB / 1.223 GB, free: 14.53 MB / 0.9512 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 0.0001493/0.8506, allocations: 264.9 kB / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/0.8507, allocations: 105 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.913e-05/0.8508, allocations: 112 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.164e-05/0.8509, allocations: 180.3 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001006/0.851, allocations: 180.2 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-05/0.8511, allocations: 184.3 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.8513, allocations: 405.2 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.732e-05/0.8514, allocations: 109.8 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.8514, allocations: 105 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.856e-05/0.8515, allocations: 180.2 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/0.8516, allocations: 180.2 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-05/0.8516, allocations: 180.3 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.35e-05/0.8517, allocations: 188.2 kB / 1.225 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.8518, allocations: 304.1 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.8519, allocations: 190 kB / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.876e-05/0.852, allocations: 180.3 kB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.822e-05/0.8521, allocations: 108.9 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.8522, allocations: 184.3 kB / 1.226 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.8522, allocations: 108.9 kB / 1.226 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.8522, allocations: 79.27 kB / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8523, allocations: 0 / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002912/0.8526, allocations: 4.094 kB / 1.227 GB, free: 10.85 MB / 0.9512 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.0004493/0.853, allocations: 0.8048 MB / 1.227 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 4.327e-05/0.8531, allocations: 7.922 kB / 1.227 GB, free: 10 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8531, allocations: 0 / 1.227 GB, free: 10 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.8531, allocations: 4 kB / 1.227 GB, free: 10 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.8534, allocations: 455.7 kB / 1.228 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.8546, allocations: 1.524 MB / 1.229 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.855, allocations: 0.669 MB / 1.23 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.186e-06/0.855, allocations: 0 / 1.23 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.855, allocations: 11.53 kB / 1.23 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.8551, allocations: 0 / 1.23 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.8724, allocations: 0.9386 MB / 1.231 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/8.34, allocations: 13.7 kB / 1.231 GB, free: 6.426 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches