Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_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.0009582/0.0009582, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007279/0.007279, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.252/2.252, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002773, allocations: 8 kB / 0.873 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.48, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0005429/0.4806, allocations: 279.9 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 2.91e-05/0.4806, allocations: 4 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.667e-05/0.4806, allocations: 3.938 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.4806, allocations: 3.938 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 1.91e-05/0.4807, allocations: 0 / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.344e-05/0.4807, allocations: 4 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.093e-05/0.4807, allocations: 0 / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.4808, allocations: 7.938 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.02e-05/0.4808, allocations: 4 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.35e-05/0.4808, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.4808, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.845e-06/0.4808, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.4808, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.4809, allocations: 25.7 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.424e-05/0.4809, allocations: 15.91 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.4809, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4809, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.4809, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.7794 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.000224/0.4812, allocations: 315.5 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.4812, allocations: 12.09 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.409e-05/0.4812, allocations: 30.75 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.42e-05/0.4813, allocations: 0.9375 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.281e-05/0.4814, allocations: 164.4 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.4814, allocations: 4.375 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-06/0.4814, allocations: 384 / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.982e-05/0.4814, allocations: 34.2 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.4815, allocations: 3.938 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-06/0.4815, allocations: 4 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.4815, allocations: 0 / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.104e-05/0.4815, allocations: 0 / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.4817, allocations: 379.5 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.032e-05/0.4818, allocations: 173 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.4818, allocations: 92.17 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.4819, allocations: 75.28 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.4819, allocations: 105.8 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.4819, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.162e-05/0.482, allocations: 25.7 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.482, allocations: 130.7 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.618e-05/0.4821, allocations: 101.8 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.4821, allocations: 29.7 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.158e-05/0.4821, allocations: 80.14 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.4821, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/0.4822, allocations: 13.72 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.4823, allocations: 310.8 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-06/0.4823, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-06/0.4823, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.147e-05/0.4823, allocations: 79.22 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/0.4823, allocations: 83.34 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.551e-05/0.4824, allocations: 29.7 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.4824, allocations: 89.23 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.4824, allocations: 79.22 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-05/0.4825, allocations: 154.6 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.149e-05/0.4825, allocations: 83.22 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-05/0.4826, allocations: 154.6 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/0.4826, allocations: 79.31 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.4826, allocations: 79.22 kB / 1.026 GB, free: 12.29 MB / 0.7794 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 8.731e-05/0.4827, allocations: 268.9 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.4828, allocations: 101 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.4828, allocations: 112 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.262e-05/0.4829, allocations: 188.2 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.063e-05/0.483, allocations: 176.3 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.203e-05/0.483, allocations: 184.2 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.4832, allocations: 405.2 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.648e-05/0.4832, allocations: 104.9 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.4833, allocations: 109 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.337e-05/0.4833, allocations: 176.3 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.4834, allocations: 184.2 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.412e-05/0.4834, allocations: 176.3 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.248e-05/0.4835, allocations: 180.2 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.4836, allocations: 312.1 kB / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.4837, allocations: 186 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.4837, allocations: 180.3 kB / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.4838, allocations: 112.9 kB / 1.029 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.4839, allocations: 180.2 kB / 1.03 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.4839, allocations: 109 kB / 1.03 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.4839, allocations: 83.22 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4839, allocations: 0 / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002208/0.4842, allocations: 0 / 1.03 GB, free: 8.617 MB / 0.7794 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.0003128/0.4845, allocations: 0.8088 MB / 1.031 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 2.186e-05/0.4845, allocations: 4 kB / 1.031 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.4845, allocations: 0 / 1.031 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.596e-06/0.4845, allocations: 3.938 kB / 1.031 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.4849, allocations: 0.5224 MB / 1.031 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000777/0.4856, allocations: 1.526 MB / 1.033 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.4858, allocations: 0.6692 MB / 1.033 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.59e-06/0.4858, allocations: 0 / 1.033 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/0.4859, allocations: 11.38 kB / 1.033 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.4859, allocations: 0 / 1.033 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7659/1.252, allocations: 0.7271 MB / 1.034 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003652/1.252, allocations: 221.5 kB / 1.034 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.785, allocations: 4 kB / 1.034 GB, free: 4.086 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches