Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.To_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.0007288/0.0007288, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006762/0.006762, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.556/2.556, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003069, allocations: 12.55 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.257, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.000896/0.2579, allocations: 0.5569 MB / 1.059 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.151e-05/0.258, allocations: 31.86 kB / 1.059 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.2581, allocations: 7.938 kB / 1.059 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.2581, allocations: 3.984 kB / 1.059 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.417e-05/0.2582, allocations: 7.922 kB / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.905e-05/0.2582, allocations: 19.98 kB / 1.059 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.2583, allocations: 51.8 kB / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.2584, allocations: 47.95 kB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.2585, allocations: 15.88 kB / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.204e-05/0.2585, allocations: 19.86 kB / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.2585, allocations: 0 / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.2586, allocations: 4 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.2586, allocations: 7.938 kB / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.2586, allocations: 57.44 kB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.164e-05/0.2587, allocations: 67.97 kB / 1.06 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2587, allocations: 0 / 1.06 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2587, allocations: 0 / 1.06 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2587, allocations: 3.938 kB / 1.06 GB, free: 3.957 MB / 0.8106 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.0003191/0.2591, allocations: 363.3 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2591, allocations: 15.97 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.2591, allocations: 38.73 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.2592, allocations: 16.84 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.2593, allocations: 184.2 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2594, allocations: 12.31 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.2594, allocations: 8.375 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.2595, allocations: 101.6 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2595, allocations: 3.938 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.2595, allocations: 4 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2596, allocations: 0 / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.098e-05/0.2596, allocations: 39.92 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.2601, allocations: 440.6 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.615e-05/0.2601, allocations: 33.31 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.2602, allocations: 29.7 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/0.2602, allocations: 0 / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.2602, allocations: 34.56 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2602, allocations: 0 / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001451/0.2604, allocations: 53.48 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.2604, allocations: 81.36 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.2606, allocations: 167.6 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.956e-06/0.2606, allocations: 29.64 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.2606, allocations: 103.9 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.2606, allocations: 8 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.2607, allocations: 9.719 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.2608, allocations: 318.8 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.2608, allocations: 4 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/0.2608, allocations: 29.7 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.2609, allocations: 25.66 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2609, allocations: 0 / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.493e-05/0.2609, allocations: 57.55 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.261, allocations: 11.92 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.261, allocations: 4 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.261, allocations: 4.062 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.061e-05/0.261, allocations: 4 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.261, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/0.2611, allocations: 11.84 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-06/0.2611, allocations: 0 / 1.062 GB, free: 1.484 MB / 0.8106 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 6.062e-05/0.2612, allocations: 113.8 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.2612, allocations: 11.84 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.2612, allocations: 19.8 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2612, allocations: 96 / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2612, allocations: 4 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2613, allocations: 7.984 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.2616, allocations: 462.8 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2616, allocations: 4 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.2616, allocations: 0 / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2616, allocations: 4 kB / 1.062 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.2616, allocations: 4 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2616, allocations: 64 / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2616, allocations: 4 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.921e-05/0.2617, allocations: 81.77 kB / 1.062 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.2618, allocations: 92.91 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.2618, allocations: 0 / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.283e-05/0.2618, allocations: 8 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.2618, allocations: 4.031 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-06/0.2618, allocations: 0 / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.623e-05/0.2619, allocations: 122.1 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2619, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001787/0.2621, allocations: 8 kB / 1.063 GB, free: 452 kB / 0.8106 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.0002928/0.2624, allocations: 0.617 MB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.349e-05/0.2625, allocations: 19.94 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2625, allocations: 0 / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/0.2625, allocations: 7.938 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.2626, allocations: 8 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009675/0.2636, allocations: 1.351 MB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.2638, allocations: 0.6926 MB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.942e-05/0.2639, allocations: 8.422 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.2639, allocations: 19.44 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2639, allocations: 0 / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009843/0.2737, allocations: 1.364 MB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.274, allocations: 215 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/1.767, allocations: 3.938 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches