Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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_psi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",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.00495/0.00495, allocations: 96.7 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.001425/0.001425, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.29/1.29, 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 10.1.1-maint.10.0.x/package.mo): time 2.42/2.42, allocations: 437.1 MB / 0.7106 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2547, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001837/0.2566, allocations: 0.8295 MB / 1.167 GB, free: 6.461 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000112/0.2567, allocations: 43.78 kB / 1.167 GB, free: 6.418 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.2568, allocations: 4 kB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.2568, allocations: 11.88 kB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.2569, allocations: 7.875 kB / 1.167 GB, free: 6.395 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.147e-05/0.2569, allocations: 23.92 kB / 1.167 GB, free: 6.371 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.501e-05/0.257, allocations: 59.89 kB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.2572, allocations: 47.97 kB / 1.167 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.492e-05/0.2572, allocations: 23.86 kB / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.658e-05/0.2573, allocations: 31.8 kB / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.2573, allocations: 4 kB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.481e-05/0.2573, allocations: 8 kB / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.2573, allocations: 19.86 kB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.2574, allocations: 27.81 kB / 1.167 GB, free: 6.152 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.2575, allocations: 79.86 kB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2575, allocations: 3.984 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2575, allocations: 0 / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.2575, allocations: 0 / 1.167 GB, free: 6.07 MB / 0.92 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.0004235/0.258, allocations: 383.1 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.258, allocations: 8.031 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.258, allocations: 46.72 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.2581, allocations: 12.84 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.2583, allocations: 188.2 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2583, allocations: 8.375 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.2583, allocations: 8.375 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.2585, allocations: 95.89 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2585, allocations: 11.86 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.2585, allocations: 0 / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2585, allocations: 4 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.995e-05/0.2586, allocations: 39.92 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.2591, allocations: 432.7 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.519e-05/0.2592, allocations: 41.22 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.2592, allocations: 17.78 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.2592, allocations: 0 / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.089e-05/0.2593, allocations: 42.58 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.805e-06/0.2593, allocations: 4 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001422/0.2594, allocations: 53.53 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.2595, allocations: 77.11 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.2596, allocations: 159.9 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.2597, allocations: 25.7 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.2597, allocations: 104.1 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.2598, allocations: 15.89 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.2598, allocations: 13.97 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.2599, allocations: 322.8 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.2599, allocations: 8 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/0.26, allocations: 17.7 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.059e-05/0.26, allocations: 29.66 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.26, allocations: 0 / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.705e-05/0.2601, allocations: 61.61 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.2601, allocations: 7.938 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.2601, allocations: 0 / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2601, allocations: 4 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.171e-05/0.2602, allocations: 7.984 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2602, allocations: 3.938 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.2603, allocations: 12 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-06/0.2603, allocations: 0 / 1.17 GB, free: 3.578 MB / 0.92 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.427e-05/0.2603, allocations: 109.8 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.2604, allocations: 19.95 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.2604, allocations: 11.86 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2604, allocations: 0 / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2604, allocations: 0 / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.2604, allocations: 3.938 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.2608, allocations: 474.7 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2608, allocations: 0 / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.813e-05/0.2609, allocations: 8.062 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2609, allocations: 0 / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-06/0.2609, allocations: 0 / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2609, allocations: 4 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2609, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.184e-05/0.261, allocations: 81.81 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.2611, allocations: 93 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.2611, allocations: 8.016 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.836e-05/0.2611, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.2611, allocations: 4 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.2611, allocations: 96 / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.686e-05/0.2612, allocations: 119.9 kB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.2612, allocations: 0 / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001733/0.2614, allocations: 11.94 kB / 1.17 GB, free: 2.531 MB / 0.92 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.0003867/0.2618, allocations: 0.6189 MB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.404e-05/0.2619, allocations: 20 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2619, allocations: 0 / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.324e-05/0.2619, allocations: 11.94 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.262, allocations: 8.266 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.2632, allocations: 1.33 MB / 1.172 GB, free: 424 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.2635, allocations: 0.6924 MB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.2635, allocations: 8.438 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.2636, allocations: 27.42 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.2636, allocations: 0 / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.128/1.391, allocations: 1.575 MB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.93, allocations: 14.5 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches