Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001564/0.001564, 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.00205/0.00205, allocations: 213.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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.914/2.914, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_11_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.002094/0.002094, allocations: 66.55 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3684, allocations: 169.9 MB / 1.283 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002851/0.3713, allocations: 0.8375 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001798/0.3715, allocations: 55.78 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.3715, allocations: 0 / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.496e-05/0.3716, allocations: 15.75 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.3717, allocations: 15.86 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001067/0.3718, allocations: 23.98 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.372, allocations: 79.77 kB / 1.284 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.3722, allocations: 40.73 kB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.891e-05/0.3723, allocations: 39.86 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.3724, allocations: 27.78 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.3724, allocations: 8 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.57e-05/0.3724, allocations: 8 kB / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.582e-05/0.3725, allocations: 23.86 kB / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.3725, allocations: 39.69 kB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.3727, allocations: 97.28 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3728, allocations: 0 / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.176e-06/0.3728, allocations: 0 / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.3728, allocations: 0 / 1.284 GB, free: 11.21 MB / 0.9825 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.0006558/0.3734, allocations: 329.9 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3735, allocations: 16.03 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.245e-05/0.3735, allocations: 38.73 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.3736, allocations: 12.89 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.3738, allocations: 142.5 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.3738, allocations: 12.56 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.3738, allocations: 12.36 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.374, allocations: 107.2 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.374, allocations: 4 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3741, allocations: 4 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3741, allocations: 0 / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.3742, allocations: 47.97 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006838/0.3748, allocations: 419.6 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.026e-05/0.3749, allocations: 41.2 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.375, allocations: 13.78 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.363e-06/0.375, allocations: 0 / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.375, allocations: 42.72 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.375, allocations: 0 / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001945/0.3752, allocations: 53.81 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.3753, allocations: 89.06 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.3755, allocations: 184.3 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3756, allocations: 25.7 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.555e-05/0.3757, allocations: 112 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.3757, allocations: 7.938 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.3757, allocations: 17.72 kB / 1.285 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3759, allocations: 322.8 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.3759, allocations: 4 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.95e-05/0.376, allocations: 17.72 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.084e-05/0.376, allocations: 29.72 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.376, allocations: 3.938 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.929e-05/0.3761, allocations: 57.64 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3761, allocations: 8 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3761, allocations: 0 / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3761, allocations: 0 / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.3762, allocations: 4 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3762, allocations: 7.938 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.3763, allocations: 11.83 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.3763, allocations: 7.938 kB / 1.286 GB, free: 8.816 MB / 0.9825 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.0001374/0.3764, allocations: 121.9 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.3765, allocations: 11.91 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.3765, allocations: 12.5 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3765, allocations: 0 / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3765, allocations: 0 / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3765, allocations: 7.938 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.377, allocations: 437.9 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.377, allocations: 4 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.776e-05/0.377, allocations: 0 / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.377, allocations: 12 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.377, allocations: 0 / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.377, allocations: 0 / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.377, allocations: 0 / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.3772, allocations: 85.88 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.3772, allocations: 15.89 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.3772, allocations: 7.938 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.3772, allocations: 3.938 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.3773, allocations: 4 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.3773, allocations: 0 / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001421/0.3774, allocations: 152.3 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3774, allocations: 0 / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001868/0.3776, allocations: 8 kB / 1.287 GB, free: 7.863 MB / 0.9825 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.0004805/0.3781, allocations: 0.6132 MB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.695e-05/0.3782, allocations: 19.92 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3782, allocations: 0 / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.3782, allocations: 4 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.3783, allocations: 12.22 kB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.3799, allocations: 1.402 MB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.38, allocations: 95.98 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.744e-05/0.38, allocations: 8.484 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.3801, allocations: 35.42 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3801, allocations: 0 / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/0.4161, allocations: 2.269 MB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.87, allocations: 13.41 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.92293884838]