Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_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_latest_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.009023/0.009023, allocations: 100.3 kB / 15.73 MB, free: 6.031 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.002116/0.002116, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 59.91 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3714, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001635/0.3731, allocations: 0.5361 MB / 1.208 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.167e-05/0.3732, allocations: 0 / 1.208 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.3732, allocations: 0 / 1.208 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.3733, allocations: 3.938 kB / 1.208 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.985e-05/0.3733, allocations: 4 kB / 1.208 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.482e-05/0.3733, allocations: 3.938 kB / 1.208 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.79e-05/0.3734, allocations: 8 kB / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.651e-05/0.3735, allocations: 4.047 kB / 1.208 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.558e-05/0.3735, allocations: 0 / 1.208 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.177e-05/0.3735, allocations: 3.984 kB / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3735, allocations: 0 / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.987e-06/0.3735, allocations: 0 / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.3735, allocations: 4 kB / 1.208 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.3736, allocations: 0 / 1.208 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.127e-05/0.3736, allocations: 7.938 kB / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3737, allocations: 0 / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3737, allocations: 0 / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3737, allocations: 0 / 1.208 GB, free: 9.559 MB / 0.9669 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.0003386/0.374, allocations: 319.6 kB / 1.208 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3741, allocations: 8.625 kB / 1.208 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.3741, allocations: 30.75 kB / 1.208 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.017e-05/0.3741, allocations: 8.875 kB / 1.208 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.3743, allocations: 160.4 kB / 1.208 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3743, allocations: 384 / 1.208 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.3743, allocations: 8.312 kB / 1.208 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.948e-05/0.3744, allocations: 30.27 kB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3744, allocations: 3.938 kB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.3744, allocations: 0 / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3744, allocations: 0 / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.728e-05/0.3745, allocations: 3.984 kB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.3748, allocations: 379.4 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.686e-05/0.3749, allocations: 185 kB / 1.209 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.3749, allocations: 84.12 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.375, allocations: 75.28 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.375, allocations: 109.9 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.375, allocations: 0 / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.714e-05/0.3751, allocations: 29.7 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.3752, allocations: 130.6 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.3753, allocations: 97.86 kB / 1.209 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.3753, allocations: 25.7 kB / 1.209 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.3753, allocations: 80.14 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.3753, allocations: 0 / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.3753, allocations: 17.7 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3755, allocations: 315 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-06/0.3755, allocations: 0 / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-06/0.3755, allocations: 0 / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.3755, allocations: 75.28 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-05/0.3755, allocations: 79.22 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.884e-05/0.3756, allocations: 33.64 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.3757, allocations: 79.28 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-05/0.3757, allocations: 79.22 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.921e-05/0.3758, allocations: 162.6 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.127e-05/0.3758, allocations: 83.2 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.98e-05/0.3759, allocations: 150.6 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.376, allocations: 75.28 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.376, allocations: 83.22 kB / 1.211 GB, free: 6.375 MB / 0.9669 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.0001194/0.3761, allocations: 264.3 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/0.3762, allocations: 105 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.3763, allocations: 112 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.619e-05/0.3763, allocations: 180.8 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-05/0.3764, allocations: 180.3 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-05/0.3765, allocations: 180.2 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.3767, allocations: 413.2 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.263e-05/0.3768, allocations: 113.1 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.3768, allocations: 101 kB / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-05/0.3769, allocations: 180.3 kB / 1.212 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-05/0.377, allocations: 184.2 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.25e-05/0.377, allocations: 184.2 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.571e-05/0.3771, allocations: 184.2 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.3773, allocations: 303.7 kB / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.3774, allocations: 182.1 kB / 1.213 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/0.3775, allocations: 184.3 kB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.3776, allocations: 108.9 kB / 1.214 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.3777, allocations: 176.3 kB / 1.214 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.3777, allocations: 104.9 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.3778, allocations: 83.27 kB / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3778, allocations: 0 / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002493/0.378, allocations: 0 / 1.214 GB, free: 2.707 MB / 0.9669 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.0004735/0.3785, allocations: 0.8088 MB / 1.215 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 4.645e-05/0.3785, allocations: 4 kB / 1.215 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.3785, allocations: 0 / 1.215 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-06/0.3786, allocations: 3.938 kB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.379, allocations: 465.7 kB / 1.215 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.3801, allocations: 1.532 MB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.3804, allocations: 0.6767 MB / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.843e-06/0.3805, allocations: 0 / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.3805, allocations: 7.438 kB / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3805, allocations: 0 / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.3994, allocations: 0.9447 MB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.686/8.085, allocations: 2.781 kB / 1.218 GB, free: 14.27 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches