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.001294/0.001294, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001445/0.001445, allocations: 217.3 kB / 23.04 MB, free: 5.074 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.806/2.806, allocations: 476.7 MB / 0.7714 GB, free: 4.512 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="cs",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.00208/0.00208, allocations: 65.7 kB / 1.118 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3587, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002268/0.361, allocations: 0.8897 MB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001427/0.3612, allocations: 59.72 kB / 1.285 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.3612, allocations: 0 / 1.285 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.445e-05/0.3613, allocations: 11.81 kB / 1.285 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.606e-05/0.3614, allocations: 15.86 kB / 1.285 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.013e-05/0.3614, allocations: 19.98 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.3615, allocations: 79.83 kB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.3617, allocations: 45.22 kB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.3618, allocations: 27.86 kB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.3618, allocations: 43.78 kB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.3619, allocations: 8 kB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.3619, allocations: 8 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.3619, allocations: 19.92 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.362, allocations: 43.67 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.3621, allocations: 102.9 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3621, allocations: 4 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3621, allocations: 0 / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3621, allocations: 4 kB / 1.285 GB, free: 10.36 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.0004752/0.3626, allocations: 326 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3626, allocations: 8.031 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.097e-05/0.3627, allocations: 8.375 kB / 1.286 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.3627, allocations: 42.73 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.3627, allocations: 8.891 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.3629, allocations: 142.5 kB / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.363, allocations: 4.562 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.363, allocations: 15.94 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3632, allocations: 105.4 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3632, allocations: 4 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3632, allocations: 4 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.3632, allocations: 0 / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.3633, allocations: 47.91 kB / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.3639, allocations: 439.6 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.746e-05/0.364, allocations: 41.16 kB / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.364, allocations: 17.78 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.364, allocations: 0 / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.3641, allocations: 34.56 kB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.3641, allocations: 0 / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001796/0.3643, allocations: 61.58 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.3643, allocations: 81.05 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.3645, allocations: 183.3 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3645, allocations: 25.7 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.3646, allocations: 116 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.275e-06/0.3646, allocations: 3.953 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.3646, allocations: 17.66 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3648, allocations: 327.1 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.3648, allocations: 4 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.803e-05/0.3649, allocations: 25.7 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.3649, allocations: 21.72 kB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3649, allocations: 0 / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.233e-05/0.365, allocations: 61.59 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.365, allocations: 16.05 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.365, allocations: 0 / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.365, allocations: 0 / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.3651, allocations: 8 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3651, allocations: 3.938 kB / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.3651, allocations: 7.891 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3651, allocations: 8.031 kB / 1.288 GB, free: 7.949 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.0001034/0.3652, allocations: 113.8 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.3653, allocations: 15.89 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.3653, allocations: 20.48 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3653, allocations: 3.938 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.3653, allocations: 3.938 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3653, allocations: 4 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.3658, allocations: 438 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3658, allocations: 3.938 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.3658, allocations: 7.938 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3658, allocations: 4.062 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3658, allocations: 4.109 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.3658, allocations: 3.938 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3658, allocations: 0 / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.313e-05/0.3659, allocations: 77.94 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.3659, allocations: 15.84 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.3659, allocations: 8.031 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.366, allocations: 0 / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.366, allocations: 3.984 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.366, allocations: 3.938 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001185/0.3661, allocations: 139.2 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3661, allocations: 0 / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001914/0.3663, allocations: 8 kB / 1.288 GB, free: 7 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.0004425/0.3667, allocations: 0.6228 MB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.203e-05/0.3668, allocations: 15.94 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3668, allocations: 0 / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.309e-05/0.3668, allocations: 7.984 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.367, allocations: 12.22 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.3685, allocations: 1.411 MB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.3688, allocations: 0.7 MB / 1.291 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.3688, allocations: 12.5 kB / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.3689, allocations: 27.42 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3689, allocations: 0 / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.391, allocations: 1.879 MB / 1.293 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 14.42 kB / 1.293 GB, free: 2.301 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.710018750978634]