Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.001836/0.001836, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001903/0.001903, allocations: 211.3 kB / 22.24 MB, free: 4.855 MB / 14.72 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 1.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 3.305/3.305, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 64.12 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3766, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002332/0.379, allocations: 0.7013 MB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.3802, allocations: 0.8319 MB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.3802, allocations: 0 / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.979e-05/0.3803, allocations: 3.938 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.807e-05/0.3803, allocations: 7.938 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.86e-05/0.3804, allocations: 15.97 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.3805, allocations: 35.92 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.3807, allocations: 8 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.633e-05/0.3808, allocations: 19.92 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.3808, allocations: 23.91 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.3808, allocations: 4 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.3808, allocations: 4 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.3809, allocations: 11.92 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.3809, allocations: 23.86 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.381, allocations: 44.09 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.381, allocations: 0 / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.234e-06/0.381, allocations: 0 / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.381, allocations: 0 / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006077/0.3816, allocations: 286.3 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.3817, allocations: 8.031 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.3817, allocations: 30.75 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.3818, allocations: 12.88 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3819, allocations: 118.5 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3819, allocations: 384 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.3819, allocations: 384 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.3822, allocations: 70.22 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3823, allocations: 7.875 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3823, allocations: 3.938 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3823, allocations: 4 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.3826, allocations: 63.92 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.383, allocations: 236 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.3832, allocations: 58.47 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.3834, allocations: 40.91 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.3834, allocations: 7.938 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3834, allocations: 30.56 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.3834, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005617/0.384, allocations: 129.6 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.384, allocations: 51.41 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3841, allocations: 113.8 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3842, allocations: 25.7 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.3842, allocations: 88.08 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.3843, allocations: 11.95 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.3843, allocations: 9.719 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3844, allocations: 318.8 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.3846, allocations: 35.89 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.3847, allocations: 35.97 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.385, allocations: 68.72 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.385, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003244/0.3853, allocations: 97.62 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3854, allocations: 8 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.3854, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3854, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3855, allocations: 15.97 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.3855, allocations: 4 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.326e-05/0.3856, allocations: 15.94 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.3856, allocations: 7.938 kB / 1.367 GB, free: 10.16 MB / 1.061 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 (3): * Single equations (assignments): 3 * 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.0001097/0.3857, allocations: 117.8 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.3858, allocations: 4 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.3858, allocations: 4 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3858, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3858, allocations: 3.984 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3858, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.386, allocations: 140.6 kB / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.386, allocations: 0 / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.816e-05/0.3861, allocations: 15.98 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3861, allocations: 0 / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3861, allocations: 4 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3861, allocations: 3.938 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3861, allocations: 0 / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.3865, allocations: 207.3 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.3866, allocations: 3.938 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.3866, allocations: 4 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3867, allocations: 7.984 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.3867, allocations: 11.98 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3867, allocations: 0 / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.741e-05/0.3868, allocations: 87.28 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3868, allocations: 0 / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002166/0.387, allocations: 4 kB / 1.368 GB, free: 9.477 MB / 1.061 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 (3): * Single equations (assignments): 3 * 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.000762/0.3878, allocations: 0.7241 MB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.3881, allocations: 76.28 kB / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3881, allocations: 4 kB / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.3883, allocations: 35.95 kB / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.3887, allocations: 4.188 kB / 1.368 GB, free: 8.609 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.3892, allocations: 151.2 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.963e-05/0.3893, allocations: 67.33 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.275e-05/0.3894, allocations: 4 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.781e-05/0.3894, allocations: 11.44 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of SimCode: time 1.513e-06/0.3894, allocations: 0 / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.4207, allocations: 2.186 MB / 1.371 GB, free: 6.266 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.75, allocations: 8.062 kB / 1.371 GB, free: 6.262 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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: 18.67864731932059]