Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007331/0.0007331, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007888/0.0007888, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8848/0.8848, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.711/1.711, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.101e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001246/0.001267, allocations: 0.5806 MB / 1 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 3.932e-05/0.001306, allocations: 3.984 kB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.00133, allocations: 0 / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.001355, allocations: 0 / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.406e-05/0.001379, allocations: 0 / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 2.785e-05/0.001407, allocations: 7.938 kB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.093e-05/0.001458, allocations: 7.922 kB / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.001503, allocations: 4 kB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.736e-05/0.00153, allocations: 4 kB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.615e-05/0.001547, allocations: 4 kB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.001565, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.146e-06/0.001568, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.00158, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.543e-05/0.001595, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 4.987e-05/0.001645, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.001647, allocations: 3.938 kB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.01e-07/0.001648, allocations: 4 kB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.001651, allocations: 0 / 1 GB, free: 12.83 MB / 0.9636 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.0002179/0.001869, allocations: 238.5 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.001907, allocations: 8.75 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.524e-05/0.001932, allocations: 34.75 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.043e-05/0.001953, allocations: 0.9375 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.98e-05/0.002023, allocations: 105.8 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.002031, allocations: 384 / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-06/0.002037, allocations: 384 / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.738e-05/0.002104, allocations: 30.25 kB / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.002111, allocations: 4.188 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.002117, allocations: 384 / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.002123, allocations: 4.125 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.337e-05/0.002136, allocations: 0 / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.002372, allocations: 358.5 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.689e-05/0.002429, allocations: 169.2 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.002454, allocations: 88.14 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.002475, allocations: 79.27 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.002505, allocations: 109.8 kB / 1.001 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 5.81e-07/0.002506, allocations: 0 / 1.001 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 4.83e-05/0.002554, allocations: 37.59 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.002598, allocations: 126.7 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.922e-05/0.002657, allocations: 97.86 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.002664, allocations: 25.83 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.926e-05/0.002683, allocations: 84.14 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.002684, allocations: 0 / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/0.0027, allocations: 13.72 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.002767, allocations: 314.8 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.459e-06/0.002772, allocations: 0 / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-06/0.002774, allocations: 0 / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.036e-05/0.002795, allocations: 75.28 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/0.002811, allocations: 79.22 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.284e-05/0.002844, allocations: 37.58 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.00287, allocations: 79.28 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.002892, allocations: 83.28 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.515e-05/0.002937, allocations: 158.5 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.816e-05/0.002955, allocations: 76.06 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.36e-05/0.002989, allocations: 158.5 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.045e-05/0.00303, allocations: 79.22 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.003045, allocations: 75.28 kB / 1.003 GB, free: 9.852 MB / 0.9636 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 7.499e-05/0.00312, allocations: 260.4 kB / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.003156, allocations: 112.9 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/0.00319, allocations: 108.1 kB / 1.003 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.873e-05/0.003229, allocations: 184.5 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.985e-05/0.003269, allocations: 184.2 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.728e-05/0.003306, allocations: 180.3 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.003444, allocations: 380.2 kB / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-05/0.003469, allocations: 101 kB / 1.004 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.003492, allocations: 105 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.825e-05/0.00354, allocations: 184.1 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/0.003583, allocations: 180.2 kB / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.931e-05/0.003623, allocations: 184.2 kB / 1.005 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.9e-05/0.003662, allocations: 184.2 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.946e-05/0.003751, allocations: 299.8 kB / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.003781, allocations: 108.9 kB / 1.006 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.003834, allocations: 188.2 kB / 1.006 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.647e-05/0.003881, allocations: 109 kB / 1.006 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.003924, allocations: 184.2 kB / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.003948, allocations: 101 kB / 1.006 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.976e-05/0.003978, allocations: 79.28 kB / 1.006 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.003978, allocations: 0 / 1.006 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001496/0.004128, allocations: 0 / 1.006 GB, free: 6.305 MB / 0.9636 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.0002462/0.004374, allocations: 0.8087 MB / 1.007 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 3.091e-05/0.004405, allocations: 4.094 kB / 1.007 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.004406, allocations: 0 / 1.007 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.51e-07/0.004407, allocations: 0 / 1.007 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.004631, allocations: 455.7 kB / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007079/0.005339, allocations: 1.532 MB / 1.009 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.005375, allocations: 63.33 kB / 1.009 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.565e-06/0.005382, allocations: 0 / 1.009 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.005406, allocations: 8.5 kB / 1.009 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.005406, allocations: 0 / 1.009 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.01806, allocations: 1.562 MB / 1.011 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.493/6.511, allocations: 0 / 1.011 GB, free: 1.891 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.395927711389959]