Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_10_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.006707/0.006707, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001859/0.001859, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.356/2.356, allocations: 437.1 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 63.91 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.6496, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002041/0.6517, allocations: 0.8311 MB / 1.167 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001186/0.6518, allocations: 47.78 kB / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.6519, allocations: 0 / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.01e-05/0.6519, allocations: 7.875 kB / 1.167 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.881e-05/0.652, allocations: 3.938 kB / 1.167 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.558e-05/0.652, allocations: 19.97 kB / 1.167 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.6522, allocations: 67.78 kB / 1.167 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.6523, allocations: 39.98 kB / 1.167 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.6523, allocations: 27.86 kB / 1.167 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.6524, allocations: 27.8 kB / 1.167 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.6524, allocations: 8 kB / 1.167 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.6525, allocations: 8 kB / 1.167 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.6525, allocations: 23.91 kB / 1.167 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.6525, allocations: 31.81 kB / 1.167 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.6527, allocations: 75.23 kB / 1.167 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6527, allocations: 0 / 1.167 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6527, allocations: 0 / 1.167 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.6527, allocations: 0 / 1.167 GB, free: 2.582 MB / 0.8887 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.0004413/0.6531, allocations: 379.1 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.6532, allocations: 8.922 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.6532, allocations: 46.73 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.6533, allocations: 16.84 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.6535, allocations: 200.1 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.6535, allocations: 4.375 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.6535, allocations: 8.375 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.6537, allocations: 90.38 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.6537, allocations: 3.938 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.6537, allocations: 8 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.6537, allocations: 4 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.6538, allocations: 39.92 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.6543, allocations: 428.7 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.27e-05/0.6544, allocations: 45.28 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.6545, allocations: 21.83 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.6545, allocations: 4 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.6545, allocations: 34.56 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.6545, allocations: 0 / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001654/0.6547, allocations: 53.53 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.6547, allocations: 85.36 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.6549, allocations: 156.2 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.6549, allocations: 33.7 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.654e-05/0.655, allocations: 100.1 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/0.655, allocations: 3.953 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.655, allocations: 17.72 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6552, allocations: 318.8 kB / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.6552, allocations: 8 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.872e-05/0.6553, allocations: 25.7 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.895e-05/0.6553, allocations: 29.66 kB / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6553, allocations: 0 / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.74e-05/0.6554, allocations: 65.53 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.6554, allocations: 11.88 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.6554, allocations: 4.094 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.6555, allocations: 8.047 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.232e-05/0.6555, allocations: 4 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.6555, allocations: 0 / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.6556, allocations: 7.938 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.6556, allocations: 0 / 1.17 GB, free: 88 kB / 0.8887 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 0.0001043/0.6557, allocations: 117.9 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.6557, allocations: 11.89 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.6558, allocations: 15.86 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.6558, allocations: 0 / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6558, allocations: 4 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6558, allocations: 4 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.6562, allocations: 470.6 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6562, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-05/0.6562, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.6562, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.6562, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6563, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6563, allocations: 4.062 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.52e-05/0.6564, allocations: 81.88 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.6564, allocations: 89.05 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.6564, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.24e-05/0.6565, allocations: 4 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-06/0.6565, allocations: 3.938 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.6565, allocations: 8.031 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.673e-05/0.6566, allocations: 120.3 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6566, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001887/0.6568, allocations: 8 kB / 1.17 GB, free: 15.04 MB / 0.9044 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.0004185/0.6572, allocations: 0.6172 MB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.576e-05/0.6573, allocations: 15.94 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6573, allocations: 0 / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.179e-05/0.6573, allocations: 4 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.6575, allocations: 14.44 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.6587, allocations: 1.345 MB / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.659, allocations: 0.6967 MB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.024e-05/0.6591, allocations: 4.438 kB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.6591, allocations: 27.36 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.6591, allocations: 0 / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.082/1.741, allocations: 1.584 MB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/12.27, allocations: 7.891 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches