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.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.001754/0.001754, allocations: 107 kB / 16.45 MB, free: 6.508 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.001978/0.001978, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.436/1.436, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.177/3.177, allocations: 497.2 MB / 0.7811 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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: Performance of FrontEnd - loaded program: time 0.002863/0.002863, allocations: 67.8 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4236, allocations: 173.9 MB / 1.304 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.00238/0.426, allocations: 0.836 MB / 1.305 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000124/0.4261, allocations: 35.8 kB / 1.305 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.4261, allocations: 0 / 1.305 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.812e-05/0.4262, allocations: 7.875 kB / 1.305 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.153e-05/0.4263, allocations: 19.84 kB / 1.305 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.024e-05/0.4263, allocations: 27.92 kB / 1.305 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.4264, allocations: 51.91 kB / 1.305 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.4266, allocations: 31.98 kB / 1.305 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.637e-05/0.4266, allocations: 27.8 kB / 1.305 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.4267, allocations: 27.8 kB / 1.305 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.4267, allocations: 8 kB / 1.305 GB, free: 500 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.4267, allocations: 4 kB / 1.305 GB, free: 496 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.4268, allocations: 19.92 kB / 1.305 GB, free: 476 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.4268, allocations: 31.8 kB / 1.305 GB, free: 444 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.427, allocations: 83.8 kB / 1.305 GB, free: 360 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.427, allocations: 4 kB / 1.305 GB, free: 356 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.427, allocations: 0 / 1.305 GB, free: 356 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.427, allocations: 0 / 1.305 GB, free: 356 kB / 0.9981 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.0005309/0.4275, allocations: 383.1 kB / 1.306 GB, free: 15.92 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4275, allocations: 12.61 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.4276, allocations: 38.75 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.4276, allocations: 8.891 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.4279, allocations: 192.2 kB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.4279, allocations: 4.375 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.4279, allocations: 12.38 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.4281, allocations: 91.89 kB / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4281, allocations: 7.875 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4281, allocations: 0 / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4281, allocations: 4 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.57e-05/0.4282, allocations: 43.86 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006561/0.4289, allocations: 436.7 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.565e-05/0.4289, allocations: 45.23 kB / 1.306 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.429, allocations: 17.78 kB / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.429, allocations: 0 / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.429, allocations: 38.56 kB / 1.306 GB, free: 14.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.429, allocations: 0 / 1.306 GB, free: 14.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001878/0.4292, allocations: 53.53 kB / 1.306 GB, free: 14.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.4293, allocations: 81.09 kB / 1.307 GB, free: 14.69 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.4294, allocations: 155.7 kB / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.4295, allocations: 29.69 kB / 1.307 GB, free: 14.49 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.4295, allocations: 104.2 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.4296, allocations: 19.94 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.4296, allocations: 9.719 kB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4298, allocations: 318.8 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/0.4298, allocations: 11.98 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.4298, allocations: 13.72 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.882e-05/0.4299, allocations: 33.66 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4299, allocations: 0 / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.584e-05/0.4299, allocations: 61.58 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.43, allocations: 9.344 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.43, allocations: 0 / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.43, allocations: 0 / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.43, allocations: 8 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4301, allocations: 0 / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/0.4301, allocations: 11.95 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.4301, allocations: 4 kB / 1.307 GB, free: 13.86 MB / 1.014 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.639e-05/0.4302, allocations: 117.9 kB / 1.307 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.4302, allocations: 15.88 kB / 1.307 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.4303, allocations: 11.88 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4303, allocations: 0 / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4303, allocations: 0 / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.4303, allocations: 3.938 kB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.4307, allocations: 474.8 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.4307, allocations: 0 / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.4307, allocations: 4 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4307, allocations: 0 / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.4307, allocations: 4.078 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.4308, allocations: 7.984 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4308, allocations: 3.938 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.448e-05/0.4308, allocations: 81.94 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.636e-05/0.4309, allocations: 96.98 kB / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.4309, allocations: 3.938 kB / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.95e-05/0.431, allocations: 0 / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.431, allocations: 0 / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.431, allocations: 4 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001001/0.4311, allocations: 121.1 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4311, allocations: 0 / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001904/0.4313, allocations: 7.953 kB / 1.308 GB, free: 12.81 MB / 1.014 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.0005231/0.4318, allocations: 0.621 MB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.985e-05/0.4319, allocations: 16 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4319, allocations: 8.094 kB / 1.309 GB, free: 12.13 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.558e-05/0.4319, allocations: 7.984 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.4321, allocations: 5.719 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.4335, allocations: 1.335 MB / 1.31 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.4338, allocations: 0.6968 MB / 1.311 GB, free: 9.965 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.4339, allocations: 8.422 kB / 1.311 GB, free: 9.957 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.4339, allocations: 23.44 kB / 1.311 GB, free: 9.934 MB / 1.014 GB Notification: Performance of SimCode: time 4e-07/0.4339, allocations: 0 / 1.311 GB, free: 9.934 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.4587, allocations: 1.578 MB / 1.312 GB, free: 8.461 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.622, allocations: 11.58 kB / 1.312 GB, free: 8.453 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.399455871898681]