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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_9_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_9_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.007282/0.007282, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.001363/0.001363, allocations: 191.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.021/2.021, allocations: 222.9 MB / 240.4 MB, free: 4.297 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 3.763/3.763, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002524/0.002524, allocations: 60.25 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4571, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002028/0.4592, allocations: 0.5406 MB / 1.088 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 5.002e-05/0.4593, allocations: 11.92 kB / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.4593, allocations: 0 / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.4593, allocations: 3.938 kB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.054e-05/0.4594, allocations: 0 / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.695e-05/0.4595, allocations: 0 / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.439e-05/0.4595, allocations: 0 / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.091e-05/0.4596, allocations: 4 kB / 1.088 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.608e-05/0.4596, allocations: 4 kB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.131e-05/0.4596, allocations: 3.984 kB / 1.088 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.4596, allocations: 0 / 1.088 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.139e-06/0.4597, allocations: 0 / 1.088 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.4597, allocations: 4 kB / 1.088 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.4597, allocations: 0 / 1.088 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.336e-05/0.4598, allocations: 11.94 kB / 1.088 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4598, allocations: 0 / 1.088 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.285e-06/0.4598, allocations: 0 / 1.088 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4598, allocations: 0 / 1.088 GB, free: 1.402 MB / 0.8419 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.0003216/0.4601, allocations: 315.6 kB / 1.088 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4602, allocations: 8.031 kB / 1.088 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.518e-05/0.4603, allocations: 30.75 kB / 1.088 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.4603, allocations: 4.938 kB / 1.088 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.4604, allocations: 164.3 kB / 1.089 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4604, allocations: 8.359 kB / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.4604, allocations: 4.312 kB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.7e-05/0.4605, allocations: 26.27 kB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.4606, allocations: 3.938 kB / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.4606, allocations: 0 / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4606, allocations: 4 kB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.721e-05/0.4606, allocations: 4 kB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.4609, allocations: 383.5 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.642e-05/0.461, allocations: 169.1 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.4611, allocations: 84.14 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/0.4611, allocations: 79.28 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.4612, allocations: 109.8 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.4612, allocations: 0 / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.628e-05/0.4613, allocations: 34.02 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.4613, allocations: 126.7 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.99e-05/0.4614, allocations: 101.8 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.4615, allocations: 25.7 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.4615, allocations: 80.14 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.4615, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.4615, allocations: 13.72 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4617, allocations: 314.8 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-06/0.4617, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.4617, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.918e-05/0.4617, allocations: 79.22 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-05/0.4617, allocations: 83.34 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.328e-05/0.4618, allocations: 29.64 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.4619, allocations: 83.28 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/0.4619, allocations: 83.25 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.321e-05/0.462, allocations: 150.6 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.489e-05/0.462, allocations: 79.22 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.156e-05/0.462, allocations: 162.6 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.766e-05/0.4621, allocations: 80.64 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.4622, allocations: 75.28 kB / 1.091 GB, free: 14.22 MB / 0.8575 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.000132/0.4623, allocations: 264.3 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.4624, allocations: 108.9 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.4624, allocations: 108 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.079e-05/0.4625, allocations: 184.3 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.273e-05/0.4626, allocations: 184.2 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-05/0.4626, allocations: 176.3 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.4629, allocations: 401.2 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.494e-05/0.4629, allocations: 112.9 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.463, allocations: 105 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.736e-05/0.463, allocations: 192.2 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.087e-05/0.4631, allocations: 180.2 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.589e-05/0.4632, allocations: 180.6 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.877e-05/0.4632, allocations: 180.2 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.4634, allocations: 319.7 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/0.4635, allocations: 178.1 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.682e-05/0.4636, allocations: 180.2 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.4637, allocations: 105 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.4637, allocations: 184.2 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.4638, allocations: 108.9 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.567e-05/0.4638, allocations: 79.28 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4638, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002725/0.4641, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 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.0005114/0.4646, allocations: 0.8088 MB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 4.788e-05/0.4647, allocations: 3.938 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4647, allocations: 0 / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-06/0.4647, allocations: 4 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.4651, allocations: 463.6 kB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.4663, allocations: 1.528 MB / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.4665, allocations: 0.669 MB / 1.098 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.576e-06/0.4665, allocations: 0 / 1.098 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.4666, allocations: 7.438 kB / 1.098 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.4666, allocations: 0 / 1.098 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.4875, allocations: 0.9152 MB / 1.099 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.34, allocations: 11.94 kB / 1.099 GB, free: 6.109 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > 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/jenkins1/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