Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.001311/0.001311, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00153/0.00153, allocations: 218.8 kB / 22.25 MB, free: 5.121 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.988 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.361/3.361, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",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.002046/0.002046, allocations: 74.8 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3606, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002164/0.3627, allocations: 0.8413 MB / 1.354 GB, free: 7.633 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000122/0.3629, allocations: 39.8 kB / 1.354 GB, free: 7.594 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.3629, allocations: 4 kB / 1.354 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.794e-05/0.363, allocations: 7.875 kB / 1.354 GB, free: 7.582 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.63e-05/0.363, allocations: 7.922 kB / 1.354 GB, free: 7.574 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.525e-05/0.3631, allocations: 19.98 kB / 1.354 GB, free: 7.555 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.3632, allocations: 71.77 kB / 1.354 GB, free: 7.484 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.3633, allocations: 23.98 kB / 1.354 GB, free: 7.461 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.761e-05/0.3634, allocations: 27.86 kB / 1.354 GB, free: 7.434 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.3635, allocations: 23.86 kB / 1.354 GB, free: 7.41 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.3635, allocations: 8 kB / 1.354 GB, free: 7.402 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.3635, allocations: 8 kB / 1.354 GB, free: 7.395 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.998e-05/0.3635, allocations: 15.92 kB / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.3636, allocations: 35.75 kB / 1.354 GB, free: 7.344 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.3637, allocations: 79.78 kB / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3637, allocations: 0 / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3637, allocations: 4 kB / 1.354 GB, free: 7.262 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.3637, allocations: 4 kB / 1.354 GB, free: 7.258 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000465/0.3642, allocations: 298 kB / 1.354 GB, free: 6.934 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3643, allocations: 12.03 kB / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.328e-05/0.3643, allocations: 42.73 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.3643, allocations: 12.89 kB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.3646, allocations: 134.3 kB / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3646, allocations: 8.359 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.3646, allocations: 12.38 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3648, allocations: 97.42 kB / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3648, allocations: 3.938 kB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3648, allocations: 0 / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3648, allocations: 0 / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.365, allocations: 43.86 kB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/0.3656, allocations: 407.7 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.854e-05/0.3657, allocations: 41.28 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.483e-05/0.3657, allocations: 13.84 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-06/0.3657, allocations: 0 / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.3657, allocations: 42.56 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.3657, allocations: 0 / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001799/0.3659, allocations: 57.52 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.366, allocations: 77.11 kB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.3661, allocations: 160.7 kB / 1.355 GB, free: 5.637 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3661, allocations: 25.7 kB / 1.355 GB, free: 5.605 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.3662, allocations: 108 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.3662, allocations: 8.141 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.3663, allocations: 25.66 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3664, allocations: 318.8 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.3665, allocations: 4 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.147e-05/0.3665, allocations: 17.72 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.803e-05/0.3665, allocations: 29.7 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3665, allocations: 4 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.089e-05/0.3666, allocations: 57.59 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3666, allocations: 7.938 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3666, allocations: 4 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3667, allocations: 4 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.616e-05/0.3667, allocations: 7.984 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.3667, allocations: 0 / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.17e-05/0.3668, allocations: 7.953 kB / 1.356 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.3668, allocations: 0 / 1.356 GB, free: 4.977 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 9.834e-05/0.3669, allocations: 121.8 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.3669, allocations: 11.89 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.3669, allocations: 15.75 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3669, allocations: 0 / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3669, allocations: 3.984 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3669, allocations: 0 / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.3674, allocations: 453.8 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3674, allocations: 4 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.765e-05/0.3674, allocations: 0 / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3674, allocations: 4 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.3674, allocations: 0 / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3674, allocations: 0 / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3674, allocations: 0 / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.048e-05/0.3675, allocations: 85.84 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.3675, allocations: 11.95 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.3675, allocations: 0 / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.248e-05/0.3675, allocations: 4 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.3676, allocations: 3.938 kB / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.3676, allocations: 3.984 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.262e-05/0.3677, allocations: 116.7 kB / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3677, allocations: 0 / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000187/0.3678, allocations: 8 kB / 1.357 GB, free: 4.055 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.0004291/0.3683, allocations: 0.6171 MB / 1.357 GB, free: 3.406 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.841e-05/0.3684, allocations: 19.92 kB / 1.357 GB, free: 3.387 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3684, allocations: 0 / 1.357 GB, free: 3.387 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.3684, allocations: 8.156 kB / 1.357 GB, free: 3.379 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.3685, allocations: 8 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.3701, allocations: 1.336 MB / 1.359 GB, free: 1.938 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.3704, allocations: 0.6963 MB / 1.359 GB, free: 1.215 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.135e-05/0.3704, allocations: 8.422 kB / 1.359 GB, free: 1.207 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.3705, allocations: 27.52 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of SimCode: time 5.11e-07/0.3705, allocations: 0 / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.4015, allocations: 1.691 MB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.82, allocations: 6.953 kB / 1.361 GB, free: 15.61 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.72646847111173]