Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.00195/0.00195, 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.002404/0.002404, allocations: 216.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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.797 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.329/3.329, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.002972/0.002972, allocations: 62.58 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3815, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002324/0.3838, allocations: 0.8411 MB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001624/0.384, allocations: 51.78 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.871e-05/0.384, allocations: 0 / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.149e-05/0.3841, allocations: 15.8 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.251e-05/0.3842, allocations: 11.88 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.358e-05/0.3842, allocations: 19.98 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3844, allocations: 83.77 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3845, allocations: 37.28 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.473e-05/0.3846, allocations: 31.86 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.716e-05/0.3847, allocations: 39.72 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.3847, allocations: 8 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.3847, allocations: 8 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.3847, allocations: 23.86 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.3848, allocations: 35.73 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.3849, allocations: 99.77 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.385, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.204e-06/0.385, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.385, allocations: 0 / 1.365 GB, free: 12.75 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004641/0.3854, allocations: 326 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3855, allocations: 12.03 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.019e-05/0.3855, allocations: 42.73 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.3856, allocations: 16.84 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.3858, allocations: 138.5 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3858, allocations: 8.562 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.3858, allocations: 8.375 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.386, allocations: 107.3 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.386, allocations: 3.938 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.386, allocations: 4 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.386, allocations: 3.984 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.665e-05/0.3861, allocations: 47.92 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.3867, allocations: 423.6 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.295e-05/0.3868, allocations: 37.16 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.544e-05/0.3868, allocations: 17.78 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.3868, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.3868, allocations: 34.56 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3868, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000179/0.387, allocations: 61.75 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.3871, allocations: 85.08 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.3873, allocations: 190.7 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.3873, allocations: 25.7 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.884e-05/0.3874, allocations: 104.1 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.3874, allocations: 7.953 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.3874, allocations: 17.67 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3876, allocations: 322.8 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.3876, allocations: 8 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.398e-05/0.3876, allocations: 17.72 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.203e-05/0.3877, allocations: 37.7 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3877, allocations: 0 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.633e-05/0.3878, allocations: 53.59 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3878, allocations: 8 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3878, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3878, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.3879, allocations: 7.984 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3879, allocations: 4 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.3879, allocations: 19.77 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.3879, allocations: 4.281 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 9.539e-05/0.388, allocations: 122.9 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.3881, allocations: 11.89 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.3881, allocations: 12.5 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3881, allocations: 3.984 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3881, allocations: 0 / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3881, allocations: 3.938 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.3886, allocations: 441.9 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3886, allocations: 0 / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.3886, allocations: 4 kB / 1.367 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3886, allocations: 8 kB / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3886, allocations: 7.984 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3886, allocations: 0 / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3886, allocations: 0 / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.357e-05/0.3887, allocations: 73.95 kB / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.3887, allocations: 19.89 kB / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.3887, allocations: 7.875 kB / 1.367 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.123e-05/0.3888, allocations: 0 / 1.367 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.3888, allocations: 4 kB / 1.367 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.3888, allocations: 0 / 1.367 GB, free: 9.555 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001269/0.3889, allocations: 144.8 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3889, allocations: 0 / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001893/0.3891, allocations: 8 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004457/0.3895, allocations: 0.6093 MB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.384e-05/0.3896, allocations: 19.94 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3896, allocations: 0 / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.199e-05/0.3897, allocations: 4 kB / 1.368 GB, free: 8.738 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.3898, allocations: 18.62 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.3913, allocations: 1.414 MB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.051e-05/0.3914, allocations: 80.19 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.694e-05/0.3914, allocations: 12.48 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.3915, allocations: 35.42 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3915, allocations: 0 / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.4209, allocations: 2.261 MB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.85, allocations: 2.031 kB / 1.372 GB, free: 4.945 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.813963607884943]