Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.To_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_11_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.001241/0.001241, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.636/2.636, allocations: 469.8 MB / 0.7424 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 65.34 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2655, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001904/0.2675, allocations: 0.8311 MB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.448e-05/0.2676, allocations: 43.78 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.2676, allocations: 0 / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.2677, allocations: 11.86 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.888e-05/0.2678, allocations: 7.875 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.149e-05/0.2678, allocations: 19.98 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.801e-05/0.2679, allocations: 59.84 kB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.268, allocations: 43.97 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.3e-05/0.2681, allocations: 23.86 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.2681, allocations: 35.78 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.2681, allocations: 7.938 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.2681, allocations: 8 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.2682, allocations: 19.92 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.2682, allocations: 35.75 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.464e-05/0.2683, allocations: 71.98 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.2683, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.41e-07/0.2683, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.2683, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.8262 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.0003545/0.2687, allocations: 367.3 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.2687, allocations: 12.03 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.2688, allocations: 38.73 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/0.2688, allocations: 16.75 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.269, allocations: 200.1 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.269, allocations: 8.375 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.269, allocations: 4.375 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.2692, allocations: 91.94 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2692, allocations: 3.938 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.2692, allocations: 4 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.2692, allocations: 0 / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.12e-05/0.2693, allocations: 43.92 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.2697, allocations: 428.5 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.064e-05/0.2698, allocations: 41.28 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.2698, allocations: 29.83 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-06/0.2699, allocations: 0 / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.2699, allocations: 30.56 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2699, allocations: 0 / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001398/0.27, allocations: 57.48 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.2701, allocations: 81.36 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.2702, allocations: 166.2 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.2703, allocations: 29.64 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.2703, allocations: 101.9 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/0.2703, allocations: 3.906 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.2704, allocations: 17.72 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.2705, allocations: 322.8 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.2705, allocations: 4 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/0.2705, allocations: 25.7 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.015e-05/0.2706, allocations: 25.72 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.2706, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.179e-05/0.2707, allocations: 53.55 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2707, allocations: 15.92 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2707, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.2707, allocations: 64 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.818e-05/0.2708, allocations: 11.94 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.2708, allocations: 4 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.2708, allocations: 15.78 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.2708, allocations: 4 kB / 1.067 GB, free: 10.5 MB / 0.8262 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.442e-05/0.2709, allocations: 113.8 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.271, allocations: 11.84 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.907e-05/0.271, allocations: 15.86 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.271, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.271, allocations: 8 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.271, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.2714, allocations: 474.8 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2714, allocations: 0 / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.065e-05/0.2714, allocations: 7.984 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2715, allocations: 0 / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.2715, allocations: 0 / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2715, allocations: 0 / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2715, allocations: 4.062 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.969e-05/0.2716, allocations: 81.83 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.2716, allocations: 89 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.2716, allocations: 4 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.838e-05/0.2717, allocations: 0 / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-06/0.2717, allocations: 3.938 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.2717, allocations: 4.031 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.963e-05/0.2718, allocations: 122.1 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2718, allocations: 0 / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001733/0.272, allocations: 8 kB / 1.068 GB, free: 9.457 MB / 0.8262 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.0003747/0.2723, allocations: 0.6227 MB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.791e-05/0.2724, allocations: 19.94 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2724, allocations: 0 / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.598e-06/0.2724, allocations: 8 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.2726, allocations: 5.562 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.2737, allocations: 1.319 MB / 1.07 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.274, allocations: 0.6924 MB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.274, allocations: 12.42 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.2741, allocations: 23.44 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2741, allocations: 3.938 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5707/0.8448, allocations: 1.545 MB / 1.072 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.3, allocations: 11.86 kB / 1.072 GB, free: 5.121 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches