Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.634/2.634, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.89 kB / 1.056 GB, free: 2.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3653, allocations: 160.7 MB / 1.213 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002793/0.3681, allocations: 0.8835 MB / 1.214 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002213/0.3683, allocations: 43.78 kB / 1.214 GB, free: 496 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.3684, allocations: 4 kB / 1.214 GB, free: 492 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.055e-05/0.3685, allocations: 15.8 kB / 1.214 GB, free: 476 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.3686, allocations: 15.86 kB / 1.214 GB, free: 460 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.06e-05/0.3687, allocations: 19.98 kB / 1.214 GB, free: 440 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.3689, allocations: 83.77 kB / 1.214 GB, free: 356 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.369, allocations: 41.08 kB / 1.214 GB, free: 312 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.773e-05/0.3691, allocations: 31.88 kB / 1.214 GB, free: 280 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.3692, allocations: 39.72 kB / 1.214 GB, free: 240 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.3692, allocations: 8 kB / 1.214 GB, free: 232 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.3692, allocations: 8 kB / 1.214 GB, free: 224 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.3692, allocations: 19.92 kB / 1.214 GB, free: 204 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.3693, allocations: 47.72 kB / 1.214 GB, free: 156 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.3695, allocations: 99.72 kB / 1.214 GB, free: 56 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3695, allocations: 0 / 1.214 GB, free: 56 kB / 0.9512 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3695, allocations: 0 / 1.214 GB, free: 56 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.3695, allocations: 0 / 1.214 GB, free: 56 kB / 0.9512 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.0006289/0.3702, allocations: 407.3 kB / 1.215 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.3702, allocations: 8.031 kB / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.3703, allocations: 42.73 kB / 1.215 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.3703, allocations: 16.84 kB / 1.215 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.3706, allocations: 206.5 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3706, allocations: 4.562 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.3707, allocations: 8.375 kB / 1.215 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.3709, allocations: 109.8 kB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3709, allocations: 7.984 kB / 1.215 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3709, allocations: 7.938 kB / 1.215 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.3709, allocations: 4 kB / 1.215 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.823e-05/0.371, allocations: 43.98 kB / 1.215 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007385/0.3718, allocations: 468.4 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.449e-05/0.3718, allocations: 41.16 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.3719, allocations: 21.72 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.3719, allocations: 0 / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3719, allocations: 34.56 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3719, allocations: 0 / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002118/0.3721, allocations: 61.53 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/0.3722, allocations: 85.11 kB / 1.216 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.3724, allocations: 178.6 kB / 1.216 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.3724, allocations: 29.69 kB / 1.216 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.842e-05/0.3725, allocations: 112 kB / 1.216 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/0.3725, allocations: 11.94 kB / 1.216 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.3726, allocations: 13.72 kB / 1.216 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3727, allocations: 323.1 kB / 1.216 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.091e-05/0.3728, allocations: 8 kB / 1.216 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.908e-05/0.3728, allocations: 21.72 kB / 1.216 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.3729, allocations: 21.72 kB / 1.216 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3729, allocations: 0 / 1.216 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001019/0.373, allocations: 61.53 kB / 1.216 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.373, allocations: 12.06 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.373, allocations: 0 / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.373, allocations: 0 / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.3731, allocations: 12 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3731, allocations: 0 / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.3731, allocations: 15.81 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3731, allocations: 4 kB / 1.217 GB, free: 13.43 MB / 0.9669 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 0.0001118/0.3732, allocations: 117.8 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.3733, allocations: 7.953 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.3733, allocations: 16.56 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3733, allocations: 224 / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3733, allocations: 0 / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3733, allocations: 15.86 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.3739, allocations: 470.8 kB / 1.217 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3739, allocations: 0 / 1.217 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.3739, allocations: 4 kB / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.3739, allocations: 7.922 kB / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.3739, allocations: 8.062 kB / 1.217 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3739, allocations: 0 / 1.217 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3739, allocations: 0 / 1.217 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.374, allocations: 77.91 kB / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.3741, allocations: 89.05 kB / 1.217 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.3741, allocations: 7.938 kB / 1.217 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.233e-05/0.3741, allocations: 8.031 kB / 1.217 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.3741, allocations: 3.938 kB / 1.217 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.3741, allocations: 3.938 kB / 1.217 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000134/0.3743, allocations: 144.8 kB / 1.217 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3743, allocations: 0 / 1.217 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000203/0.3745, allocations: 8 kB / 1.217 GB, free: 12.34 MB / 0.9669 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.0004921/0.375, allocations: 0.621 MB / 1.218 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.3751, allocations: 19.94 kB / 1.218 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3751, allocations: 0 / 1.218 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.3751, allocations: 4 kB / 1.218 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.3753, allocations: 8 kB / 1.218 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.3771, allocations: 1.401 MB / 1.219 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.3775, allocations: 0.6963 MB / 1.22 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.688e-05/0.3776, allocations: 16.55 kB / 1.22 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.3777, allocations: 31.42 kB / 1.22 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.3777, allocations: 0 / 1.22 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.4037, allocations: 1.735 MB / 1.222 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.571, allocations: 17.27 kB / 1.222 GB, free: 7.75 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 14.696446320042014]