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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006289/0.006289, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 202.1 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.639/2.639, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 67.84 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2684, allocations: 162.3 MB / 1.242 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001793/0.2702, allocations: 0.824 MB / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.766e-05/0.2703, allocations: 35.84 kB / 1.243 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.2704, allocations: 0 / 1.243 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.2704, allocations: 11.88 kB / 1.243 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.372e-05/0.2705, allocations: 11.88 kB / 1.243 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.425e-05/0.2705, allocations: 23.97 kB / 1.243 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.571e-05/0.2706, allocations: 55.84 kB / 1.243 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.2708, allocations: 43.97 kB / 1.243 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.2708, allocations: 27.8 kB / 1.243 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.2709, allocations: 27.86 kB / 1.243 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.2709, allocations: 8 kB / 1.243 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.2709, allocations: 8 kB / 1.243 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.2709, allocations: 15.91 kB / 1.243 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.271, allocations: 35.75 kB / 1.243 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.2711, allocations: 75.58 kB / 1.243 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2711, allocations: 3.938 kB / 1.243 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2711, allocations: 0 / 1.243 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.2711, allocations: 4 kB / 1.243 GB, free: 8.617 MB / 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.0003865/0.2715, allocations: 379.1 kB / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2716, allocations: 12.03 kB / 1.243 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.2716, allocations: 38.73 kB / 1.243 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.2716, allocations: 8.891 kB / 1.243 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.2718, allocations: 192.2 kB / 1.244 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.2718, allocations: 8.375 kB / 1.244 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.2719, allocations: 8.312 kB / 1.244 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.272, allocations: 95.94 kB / 1.244 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.272, allocations: 7.938 kB / 1.244 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.272, allocations: 7.984 kB / 1.244 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.272, allocations: 0 / 1.244 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.057e-05/0.2721, allocations: 35.92 kB / 1.244 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.2726, allocations: 436.7 kB / 1.244 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.391e-05/0.2727, allocations: 41.19 kB / 1.244 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.2727, allocations: 25.83 kB / 1.244 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-06/0.2727, allocations: 0 / 1.244 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.2728, allocations: 30.56 kB / 1.244 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.2728, allocations: 4 kB / 1.244 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000148/0.2729, allocations: 57.53 kB / 1.244 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.273, allocations: 77.11 kB / 1.244 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.2731, allocations: 164.8 kB / 1.245 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2731, allocations: 25.7 kB / 1.245 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.2732, allocations: 100.1 kB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.2732, allocations: 7.953 kB / 1.245 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.2733, allocations: 21.95 kB / 1.245 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2734, allocations: 318.8 kB / 1.245 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.2734, allocations: 11.94 kB / 1.245 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.241e-05/0.2734, allocations: 25.64 kB / 1.245 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.2735, allocations: 25.72 kB / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2735, allocations: 0 / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.819e-05/0.2736, allocations: 61.58 kB / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2736, allocations: 13.66 kB / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.2736, allocations: 0 / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.457e-06/0.2736, allocations: 0 / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.074e-05/0.2737, allocations: 4 kB / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2737, allocations: 4 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.2737, allocations: 11.89 kB / 1.245 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.2737, allocations: 7.938 kB / 1.245 GB, free: 6.125 MB / 0.9981 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 7.294e-05/0.2738, allocations: 113.9 kB / 1.245 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.2738, allocations: 11.89 kB / 1.245 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.2739, allocations: 11.86 kB / 1.245 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2739, allocations: 0 / 1.245 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2739, allocations: 4 kB / 1.245 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.2739, allocations: 0 / 1.245 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.2743, allocations: 478.7 kB / 1.246 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2743, allocations: 4.062 kB / 1.246 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.847e-05/0.2743, allocations: 4 kB / 1.246 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2743, allocations: 0 / 1.246 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.2743, allocations: 0 / 1.246 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2743, allocations: 3.938 kB / 1.246 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2743, allocations: 0 / 1.246 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.079e-05/0.2744, allocations: 81.88 kB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.2745, allocations: 93.08 kB / 1.246 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.2745, allocations: 4 kB / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.859e-05/0.2745, allocations: 0 / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-06/0.2745, allocations: 0 / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.2745, allocations: 0 / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.694e-05/0.2746, allocations: 122.1 kB / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.2746, allocations: 0 / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001718/0.2748, allocations: 8 kB / 1.246 GB, free: 5.09 MB / 0.9981 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.000362/0.2752, allocations: 0.6215 MB / 1.247 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.964e-05/0.2753, allocations: 15.94 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2753, allocations: 3.938 kB / 1.247 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.277e-05/0.2753, allocations: 8.156 kB / 1.247 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.2754, allocations: 8.125 kB / 1.247 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.2765, allocations: 1.343 MB / 1.248 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.2768, allocations: 0.6924 MB / 1.249 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.771e-05/0.2769, allocations: 12.42 kB / 1.249 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.2769, allocations: 23.44 kB / 1.249 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.2769, allocations: 0 / 1.249 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.481/1.758, allocations: 1.575 MB / 1.25 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/17.01, allocations: 4.562 kB / 1.25 GB, free: 0.7344 MB / 0.9981 GB (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 --timeout=400 --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) 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) Reference file matches