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.001395/0.001395, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001562/0.001562, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 8.039 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.5/3.5, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.002009/0.002009, allocations: 62.73 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3813, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002253/0.3836, allocations: 0.8841 MB / 1.354 GB, free: 7.555 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002024/0.3838, allocations: 55.77 kB / 1.354 GB, free: 7.5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.3839, allocations: 0 / 1.354 GB, free: 7.5 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.701e-05/0.3839, allocations: 15.81 kB / 1.354 GB, free: 7.484 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.148e-05/0.384, allocations: 11.88 kB / 1.354 GB, free: 7.473 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.063e-05/0.3841, allocations: 27.97 kB / 1.354 GB, free: 7.445 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.3842, allocations: 79.77 kB / 1.354 GB, free: 7.367 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.3844, allocations: 33.3 kB / 1.354 GB, free: 7.336 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.551e-05/0.3845, allocations: 39.78 kB / 1.354 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.27e-05/0.3846, allocations: 35.78 kB / 1.354 GB, free: 7.262 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.3846, allocations: 8 kB / 1.354 GB, free: 7.254 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.46e-05/0.3846, allocations: 8 kB / 1.354 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.3846, allocations: 15.94 kB / 1.354 GB, free: 7.23 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.3847, allocations: 51.67 kB / 1.354 GB, free: 7.18 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.3849, allocations: 103.8 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3849, allocations: 0 / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3849, allocations: 0 / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3849, allocations: 3.938 kB / 1.354 GB, free: 7.074 MB / 1.045 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.0005845/0.3855, allocations: 326 kB / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.3855, allocations: 12.03 kB / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.194e-05/0.3856, allocations: 34.75 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.3856, allocations: 16.84 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.3859, allocations: 146.5 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3859, allocations: 8.562 kB / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.3859, allocations: 8.312 kB / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.3861, allocations: 109 kB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.3861, allocations: 3.938 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3861, allocations: 4 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.3861, allocations: 4 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.3862, allocations: 43.92 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006836/0.3869, allocations: 435.6 kB / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.779e-05/0.387, allocations: 41.09 kB / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.387, allocations: 21.84 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.387, allocations: 7.984 kB / 1.355 GB, free: 5.73 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.3871, allocations: 30.56 kB / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3871, allocations: 0 / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002029/0.3873, allocations: 57.58 kB / 1.355 GB, free: 5.629 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.3873, allocations: 81.05 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.3876, allocations: 190.6 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.3876, allocations: 25.95 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.3877, allocations: 112.3 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.3877, allocations: 3.953 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.3877, allocations: 21.66 kB / 1.356 GB, free: 5.156 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3879, allocations: 322.8 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.3879, allocations: 4 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.3879, allocations: 17.72 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.561e-05/0.388, allocations: 25.72 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.388, allocations: 0 / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001016/0.3881, allocations: 69.53 kB / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3881, allocations: 6.5 kB / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3881, allocations: 0 / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3881, allocations: 4 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.3882, allocations: 4 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3882, allocations: 0 / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.3882, allocations: 19.92 kB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.3882, allocations: 0 / 1.356 GB, free: 4.668 MB / 1.045 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 8.966e-05/0.3883, allocations: 121.7 kB / 1.356 GB, free: 4.539 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.3884, allocations: 19.91 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.3884, allocations: 12.5 kB / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3884, allocations: 3.938 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3884, allocations: 0 / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.3884, allocations: 7.922 kB / 1.356 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.3888, allocations: 445.9 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3888, allocations: 0 / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.3889, allocations: 8 kB / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3889, allocations: 3.938 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.3889, allocations: 3.984 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3889, allocations: 0 / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.3889, allocations: 4 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.952e-05/0.389, allocations: 77.97 kB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.389, allocations: 15.94 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.389, allocations: 3.938 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.173e-05/0.389, allocations: 3.938 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.3891, allocations: 4 kB / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.3891, allocations: 0 / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001214/0.3892, allocations: 140.8 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3892, allocations: 4.031 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001911/0.3894, allocations: 8 kB / 1.357 GB, free: 3.707 MB / 1.045 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.0004352/0.3898, allocations: 0.617 MB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.712e-05/0.3899, allocations: 23.97 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3899, allocations: 0 / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.019e-05/0.3899, allocations: 4 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.3901, allocations: 8 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.3916, allocations: 1.406 MB / 1.359 GB, free: 1.52 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.3919, allocations: 0.7002 MB / 1.36 GB, free: 0.793 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.3919, allocations: 12.48 kB / 1.36 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.392, allocations: 31.42 kB / 1.36 GB, free: 0.75 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/0.392, allocations: 0 / 1.36 GB, free: 0.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.423, allocations: 1.848 MB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.77, allocations: 12.5 kB / 1.362 GB, free: 15.02 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.94624274596572]