Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001743, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.00199/0.00199, allocations: 183 kB / 17.34 MB, free: 5.766 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.497/1.497, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 67.89 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9184/0.9206, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002457/0.9231, allocations: 0.8242 MB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.9233, allocations: 45.05 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.9233, allocations: 2.188 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.9234, allocations: 9.562 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.16e-05/0.9235, allocations: 5.891 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.948e-05/0.9235, allocations: 16.22 kB / 1.09 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.9237, allocations: 70.91 kB / 1.09 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.9238, allocations: 38.09 kB / 1.09 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.032e-05/0.9239, allocations: 27.23 kB / 1.09 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.924, allocations: 34.02 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.924, allocations: 5.875 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.924, allocations: 10.84 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.924, allocations: 16.33 kB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.9241, allocations: 32.22 kB / 1.09 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.9242, allocations: 77.72 kB / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.9242, allocations: 0 / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9242, allocations: 1.156 kB / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.9243, allocations: 0 / 1.09 GB, free: 4.758 MB / 0.8575 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.0003801/0.9246, allocations: 378.6 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.9247, allocations: 9.688 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.9247, allocations: 13.28 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.9249, allocations: 192.2 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.9249, allocations: 7.469 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.9249, allocations: 5.594 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.9251, allocations: 93.77 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.9251, allocations: 0.7969 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.9251, allocations: 11.94 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.9252, allocations: 2.688 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.759e-05/0.9252, allocations: 40.45 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.9257, allocations: 437.8 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.546e-05/0.9258, allocations: 45.16 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.9258, allocations: 25.09 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.041e-06/0.9258, allocations: 0 / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.9258, allocations: 32.59 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.9258, allocations: 0 / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001548/0.926, allocations: 57.2 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.926, allocations: 86.91 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.9262, allocations: 158.5 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.9262, allocations: 26.86 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.9263, allocations: 106.9 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.9263, allocations: 10.19 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.9263, allocations: 14.33 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.9264, allocations: 320.1 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.9264, allocations: 11.81 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.9264, allocations: 16.42 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.936e-05/0.9265, allocations: 26.64 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.9265, allocations: 0 / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.613e-05/0.9265, allocations: 57.7 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.9266, allocations: 5.281 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.9266, allocations: 9.812 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.9266, allocations: 1.156 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.9267, allocations: 9.656 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.9267, allocations: 1.562 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.9267, allocations: 10.78 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.9267, allocations: 0 / 1.092 GB, free: 2.684 MB / 0.8575 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 5.35e-05/0.9268, allocations: 114.7 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.9268, allocations: 12.09 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.9269, allocations: 13.25 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.9269, allocations: 4 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.9269, allocations: 1.062 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.9269, allocations: 1.797 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.9272, allocations: 470.4 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.9272, allocations: 1.844 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/0.9272, allocations: 2.844 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.9272, allocations: 1.219 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.9272, allocations: 4.062 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.9272, allocations: 5.859 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9272, allocations: 0 / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.115e-05/0.9273, allocations: 77.44 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.9274, allocations: 94.38 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.9274, allocations: 1.203 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.06e-05/0.9274, allocations: 4.688 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.9274, allocations: 6.203 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.9274, allocations: 4.656 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.643e-05/0.9275, allocations: 122.2 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9275, allocations: 0 / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001891/0.9277, allocations: 7.406 kB / 1.093 GB, free: 1.766 MB / 0.8575 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.0001042/0.9278, allocations: 102 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.516e-05/0.9279, allocations: 24.23 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.928, allocations: 0 / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.254e-05/0.928, allocations: 9.234 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.9281, allocations: 10.81 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.9284, allocations: 188.1 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.9286, allocations: 0.6921 MB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.9286, allocations: 16.55 kB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.9286, allocations: 0 / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of Templates: time 0.002607/0.9313, allocations: 0.8685 MB / 1.095 GB, free: 16.68 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches