Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001789/0.001789, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002307/0.002307, allocations: 220 kB / 23.03 MB, free: 4.941 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.821/2.821, allocations: 476.8 MB / 0.7715 GB, free: 4.02 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.To_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_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.002053/0.002053, allocations: 70.92 kB / 1.118 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3547, allocations: 170 MB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002487/0.3572, allocations: 0.8416 MB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001876/0.3574, allocations: 63.7 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.3575, allocations: 4 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.016e-05/0.3575, allocations: 7.875 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.366e-05/0.3576, allocations: 15.88 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.89e-05/0.3577, allocations: 23.97 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.3579, allocations: 83.75 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.358, allocations: 34.7 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.3581, allocations: 39.8 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.3582, allocations: 35.72 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.3582, allocations: 8 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.3582, allocations: 8 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.3583, allocations: 23.92 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.3583, allocations: 31.81 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.3585, allocations: 107 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3585, allocations: 0 / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3585, allocations: 0 / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3585, allocations: 0 / 1.285 GB, free: 9.48 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.0005694/0.3591, allocations: 326 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3591, allocations: 12.03 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.062e-05/0.3591, allocations: 8.312 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.3592, allocations: 34.75 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.3592, allocations: 16.88 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.3595, allocations: 146.5 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.3595, allocations: 12.5 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.3595, allocations: 11.94 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.3597, allocations: 101.4 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3597, allocations: 0 / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.3597, allocations: 8 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3597, allocations: 0 / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.3598, allocations: 47.86 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.3605, allocations: 415.6 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.159e-05/0.3605, allocations: 41.16 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.3606, allocations: 25.77 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.3606, allocations: 0 / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3606, allocations: 34.56 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3606, allocations: 0 / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001863/0.3608, allocations: 49.59 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.3609, allocations: 85.05 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.3611, allocations: 183.2 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3611, allocations: 33.7 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.3612, allocations: 108.3 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.3612, allocations: 11.94 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.3612, allocations: 21.7 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3614, allocations: 318.8 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.3614, allocations: 7.984 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.519e-05/0.3614, allocations: 17.72 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.499e-05/0.3614, allocations: 29.66 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3614, allocations: 4 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.241e-05/0.3615, allocations: 57.64 kB / 1.287 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3616, allocations: 8 kB / 1.287 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3616, allocations: 4 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3616, allocations: 0 / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.3616, allocations: 4 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.3616, allocations: 3.938 kB / 1.287 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.541e-05/0.3617, allocations: 12.11 kB / 1.287 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.3617, allocations: 0 / 1.287 GB, free: 7.09 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 9.166e-05/0.3618, allocations: 121.8 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.3618, allocations: 15.94 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.3618, allocations: 8.5 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3618, allocations: 4 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3619, allocations: 3.938 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3619, allocations: 4.031 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.3623, allocations: 445.9 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3623, allocations: 3.984 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.3623, allocations: 11.94 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3623, allocations: 0 / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3623, allocations: 4 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3623, allocations: 0 / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3623, allocations: 64 / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.3625, allocations: 89.88 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.3625, allocations: 15.84 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.3625, allocations: 0 / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.409e-05/0.3625, allocations: 3.984 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.3626, allocations: 8 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.3626, allocations: 0 / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000124/0.3627, allocations: 135.2 kB / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3627, allocations: 0 / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001964/0.3629, allocations: 8 kB / 1.288 GB, free: 6.137 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.0004607/0.3633, allocations: 0.6228 MB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.77e-05/0.3634, allocations: 15.98 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.3634, allocations: 0 / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.29e-05/0.3635, allocations: 7.938 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.3636, allocations: 8 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.3651, allocations: 1.41 MB / 1.29 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.048e-05/0.3652, allocations: 99.98 kB / 1.29 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.321e-05/0.3652, allocations: 8.484 kB / 1.29 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.3653, allocations: 23.44 kB / 1.29 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.3653, allocations: 0 / 1.29 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.3879, allocations: 1.923 MB / 1.292 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.93, allocations: 5.625 kB / 1.292 GB, free: 2.023 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.946300438023172]