Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Sources.Validation.Constant,fileNamePrefix="Buildings_10_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_10_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.004264/0.004264, allocations: 97.5 kB / 15.73 MB, free: 6.016 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.001749/0.001749, 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.314/2.314, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001837, allocations: 60.09 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6439/0.6458, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001454/0.6472, allocations: 0.5446 MB / 1.167 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 3.631e-05/0.6473, allocations: 4 kB / 1.167 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.6473, allocations: 0 / 1.167 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.6473, allocations: 0 / 1.167 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.255e-05/0.6474, allocations: 4 kB / 1.167 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 2.561e-05/0.6474, allocations: 3.984 kB / 1.167 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.995e-05/0.6475, allocations: 4 kB / 1.167 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.6475, allocations: 2.031 kB / 1.167 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.124e-05/0.6475, allocations: 3.938 kB / 1.167 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.328e-05/0.6475, allocations: 0 / 1.167 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.6475, allocations: 4 kB / 1.167 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-06/0.6476, allocations: 0 / 1.167 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.6476, allocations: 0 / 1.167 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.6476, allocations: 4 kB / 1.167 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 4.9e-05/0.6476, allocations: 3.938 kB / 1.167 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6477, allocations: 4 kB / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.045e-06/0.6477, allocations: 0 / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.6477, allocations: 3.938 kB / 1.167 GB, free: 3.145 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002997/0.648, allocations: 315.5 kB / 1.167 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.648, allocations: 12.92 kB / 1.167 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.6481, allocations: 30.75 kB / 1.167 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.706e-05/0.6481, allocations: 0.9375 kB / 1.167 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.6482, allocations: 160.4 kB / 1.167 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.6482, allocations: 4.375 kB / 1.167 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.6482, allocations: 4.375 kB / 1.167 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.377e-05/0.6483, allocations: 34.25 kB / 1.167 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.6483, allocations: 3.938 kB / 1.167 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.6483, allocations: 3.938 kB / 1.167 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.6483, allocations: 0 / 1.167 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.37e-05/0.6483, allocations: 3.938 kB / 1.167 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.6486, allocations: 379.5 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.63e-05/0.6487, allocations: 177.1 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.6488, allocations: 84.14 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.6488, allocations: 75.28 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.6489, allocations: 109.8 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.6489, allocations: 0 / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 6.606e-05/0.6489, allocations: 33.7 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.649, allocations: 126.7 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.728e-05/0.6491, allocations: 97.84 kB / 1.168 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.6491, allocations: 25.7 kB / 1.168 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.6491, allocations: 84.12 kB / 1.168 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-06/0.6492, allocations: 4 kB / 1.168 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.6492, allocations: 9.719 kB / 1.168 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6493, allocations: 319 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-06/0.6493, allocations: 0 / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-06/0.6493, allocations: 0 / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.972e-05/0.6493, allocations: 75.28 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.724e-05/0.6494, allocations: 79.22 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.014e-05/0.6494, allocations: 36.09 kB / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.6495, allocations: 79.28 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/0.6495, allocations: 83.3 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.296e-05/0.6496, allocations: 162.5 kB / 1.169 GB, free: 356 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.928e-05/0.6496, allocations: 75.28 kB / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-05/0.6497, allocations: 154.5 kB / 1.169 GB, free: 124 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.6497, allocations: 87.22 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.6498, allocations: 75.28 kB / 1.17 GB, free: 15.96 MB / 0.9044 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.0001133/0.6499, allocations: 266.5 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.65, allocations: 108.9 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.65, allocations: 108.1 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.097e-05/0.6501, allocations: 188.2 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.399e-05/0.6502, allocations: 176.3 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.198e-05/0.6502, allocations: 176.3 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.6505, allocations: 413.1 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.74e-05/0.6505, allocations: 101 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.6506, allocations: 108.9 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.678e-05/0.6506, allocations: 184.2 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/0.6507, allocations: 176.3 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.237e-05/0.6508, allocations: 184.2 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-05/0.6508, allocations: 180.3 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.651, allocations: 316 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.6511, allocations: 182.1 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.6511, allocations: 180.2 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.6512, allocations: 109 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.6513, allocations: 184.2 kB / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.6513, allocations: 109 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.6514, allocations: 75.28 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6514, allocations: 0 / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002294/0.6516, allocations: 0 / 1.173 GB, free: 12.29 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: 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.0004267/0.652, allocations: 0.8204 MB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 2.882e-05/0.6521, allocations: 0 / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.6521, allocations: 0 / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.6521, allocations: 0 / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.6524, allocations: 459.7 kB / 1.174 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009229/0.6534, allocations: 1.52 MB / 1.176 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.6536, allocations: 0.669 MB / 1.176 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.293e-06/0.6536, allocations: 4 kB / 1.176 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.6536, allocations: 7.438 kB / 1.176 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of SimCode: time 1.793e-06/0.6536, allocations: 0 / 1.176 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.855/1.509, allocations: 0.9322 MB / 1.177 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.503/11.01, allocations: 7.328 kB / 1.177 GB, free: 7.848 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches