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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006742/0.006742, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001347/0.001347, allocations: 197.1 kB / 16.67 MB, free: 5.926 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.611/2.611, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 64.12 kB / 1.054 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.869/0.8703, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002135/0.8725, allocations: 0.8374 MB / 1.208 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001523/0.8727, allocations: 39.78 kB / 1.208 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.8728, allocations: 0 / 1.208 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.032e-05/0.8728, allocations: 11.88 kB / 1.208 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.873, allocations: 7.922 kB / 1.208 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.569e-05/0.873, allocations: 19.98 kB / 1.208 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.8731, allocations: 59.78 kB / 1.208 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.8733, allocations: 47.91 kB / 1.208 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.972e-05/0.8734, allocations: 23.92 kB / 1.208 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.158e-05/0.8734, allocations: 31.8 kB / 1.208 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.8735, allocations: 4 kB / 1.208 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.8735, allocations: 8 kB / 1.208 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.321e-05/0.8735, allocations: 15.92 kB / 1.208 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.8736, allocations: 39.8 kB / 1.208 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.8737, allocations: 73.89 kB / 1.208 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8737, allocations: 0 / 1.208 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8737, allocations: 0 / 1.208 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.8737, allocations: 4 kB / 1.208 GB, free: 12.32 MB / 0.9356 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.0004727/0.8742, allocations: 375.2 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.8743, allocations: 12.03 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.8743, allocations: 38.73 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.8743, allocations: 16.78 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.8745, allocations: 196.1 kB / 1.209 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.8745, allocations: 4.375 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.8746, allocations: 8.375 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.8747, allocations: 90.14 kB / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.8747, allocations: 7.938 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.8748, allocations: 0 / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.8748, allocations: 0 / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.261e-05/0.8748, allocations: 39.92 kB / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.8753, allocations: 440.4 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.84e-05/0.8754, allocations: 49.27 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.8755, allocations: 17.84 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.8755, allocations: 4 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.8755, allocations: 34.56 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.8755, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.8757, allocations: 57.48 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.8757, allocations: 81.09 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.8759, allocations: 156.5 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.8759, allocations: 29.7 kB / 1.21 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.8759, allocations: 104 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-06/0.876, allocations: 3.906 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.876, allocations: 21.7 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.8761, allocations: 318.8 kB / 1.21 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.8761, allocations: 11.92 kB / 1.21 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.29e-05/0.8762, allocations: 17.72 kB / 1.21 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.105e-05/0.8762, allocations: 29.72 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8762, allocations: 0 / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.565e-05/0.8763, allocations: 57.53 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.8763, allocations: 11.94 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.8764, allocations: 0 / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.8764, allocations: 0 / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.377e-05/0.8765, allocations: 4 kB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.8765, allocations: 7.938 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.8765, allocations: 11.97 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.8765, allocations: 4 kB / 1.211 GB, free: 9.836 MB / 0.9356 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.946e-05/0.8766, allocations: 113.8 kB / 1.211 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.8766, allocations: 15.83 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.8767, allocations: 7.875 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.8767, allocations: 0 / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.8767, allocations: 4 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.8767, allocations: 0 / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.8771, allocations: 474.8 kB / 1.211 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8771, allocations: 0 / 1.211 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/0.8771, allocations: 7.938 kB / 1.211 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.8771, allocations: 0 / 1.211 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.8772, allocations: 0 / 1.211 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.8772, allocations: 3.984 kB / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8772, allocations: 0 / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.399e-05/0.8773, allocations: 81.91 kB / 1.211 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.8773, allocations: 88.94 kB / 1.211 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.8773, allocations: 8 kB / 1.211 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/0.8774, allocations: 3.938 kB / 1.211 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.8774, allocations: 96 / 1.211 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.8774, allocations: 0 / 1.211 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.693e-05/0.8775, allocations: 121.7 kB / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8775, allocations: 7.969 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001978/0.8777, allocations: 11.91 kB / 1.212 GB, free: 8.789 MB / 0.9356 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.0003795/0.8781, allocations: 0.6171 MB / 1.212 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.448e-05/0.8782, allocations: 19.97 kB / 1.212 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.8782, allocations: 0 / 1.212 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.431e-05/0.8782, allocations: 7.984 kB / 1.212 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.8784, allocations: 8 kB / 1.212 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.8795, allocations: 1.331 MB / 1.213 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.8797, allocations: 0.6924 MB / 1.214 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.8798, allocations: 12.42 kB / 1.214 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.8798, allocations: 19.44 kB / 1.214 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of SimCode: time 2.214e-06/0.8798, allocations: 4 kB / 1.214 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.8989, allocations: 1.593 MB / 1.216 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/8.419, allocations: 2.344 kB / 1.216 GB, free: 4.434 MB / 0.9356 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=50 --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