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.001531/0.001531, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001622/0.001622, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.505/1.505, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.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.485/2.485, allocations: 390.2 MB / 0.6643 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.89 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8129/0.8142, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001871/0.8161, allocations: 0.881 MB / 0.95 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.473e-05/0.8163, allocations: 40.25 kB / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.8163, allocations: 2.25 kB / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.8164, allocations: 11.86 kB / 0.95 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.8164, allocations: 5.031 kB / 0.95 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.263e-05/0.8165, allocations: 15.41 kB / 0.95 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.798e-05/0.8166, allocations: 59.78 kB / 0.9501 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.8167, allocations: 36.75 kB / 0.9501 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.032e-05/0.8168, allocations: 34.98 kB / 0.9502 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.8169, allocations: 28.8 kB / 0.9502 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.8169, allocations: 10.23 kB / 0.9502 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.8169, allocations: 6.688 kB / 0.9502 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.8169, allocations: 18.55 kB / 0.9502 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.817, allocations: 29.92 kB / 0.9502 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.078e-05/0.817, allocations: 70.91 kB / 0.9503 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.817, allocations: 0 / 0.9503 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8171, allocations: 0 / 0.9503 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.8171, allocations: 1.25 kB / 0.9503 GB, free: 8.176 MB / 0.7169 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.0003366/0.8174, allocations: 378.3 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.8174, allocations: 13.2 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.8175, allocations: 8.938 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.8176, allocations: 194.8 kB / 0.9509 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.8177, allocations: 7.312 kB / 0.9509 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.8177, allocations: 9.344 kB / 0.9509 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.8178, allocations: 85.3 kB / 0.951 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.8178, allocations: 8.125 kB / 0.951 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.8178, allocations: 9.656 kB / 0.951 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.8179, allocations: 5.766 kB / 0.951 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.061e-05/0.8179, allocations: 36.05 kB / 0.951 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.8183, allocations: 429.1 kB / 0.9514 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.373e-05/0.8184, allocations: 41.56 kB / 0.9515 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.8184, allocations: 22.91 kB / 0.9515 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.8184, allocations: 1.406 kB / 0.9515 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.8185, allocations: 42.47 kB / 0.9516 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.8185, allocations: 5.062 kB / 0.9516 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000156/0.8186, allocations: 50.55 kB / 0.9516 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.8187, allocations: 86.33 kB / 0.9517 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.8188, allocations: 159.7 kB / 0.9518 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.241e-06/0.8188, allocations: 25.7 kB / 0.9519 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.8188, allocations: 116.3 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.8188, allocations: 5.125 kB / 0.952 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.8189, allocations: 17.84 kB / 0.952 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.786e-05/0.8189, allocations: 320.2 kB / 0.9523 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.819, allocations: 7.5 kB / 0.9523 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.819, allocations: 19.12 kB / 0.9523 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.657e-05/0.819, allocations: 26.58 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.819, allocations: 0 / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.94e-05/0.8191, allocations: 58.7 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.8191, allocations: 7.188 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.8191, allocations: 5.969 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.8192, allocations: 0 / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.8192, allocations: 14.05 kB / 0.9524 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.8192, allocations: 0 / 0.9524 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.8193, allocations: 2.531 kB / 0.9524 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.8193, allocations: 5.219 kB / 0.9524 GB, free: 6.004 MB / 0.7169 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.092e-05/0.8193, allocations: 114 kB / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.8194, allocations: 11 kB / 0.9526 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.8194, allocations: 14.98 kB / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.8194, allocations: 1.531 kB / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8194, allocations: 0 / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8194, allocations: 1.531 kB / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.8197, allocations: 477.3 kB / 0.953 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8197, allocations: 1.344 kB / 0.953 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.8197, allocations: 11.28 kB / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8197, allocations: 0 / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.8197, allocations: 1.406 kB / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8198, allocations: 0 / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8198, allocations: 1.25 kB / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.145e-05/0.8198, allocations: 86.52 kB / 0.9531 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.8199, allocations: 91.73 kB / 0.9532 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.8199, allocations: 1.25 kB / 0.9532 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.106e-05/0.8199, allocations: 5.391 kB / 0.9532 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.8199, allocations: 1.344 kB / 0.9532 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.8199, allocations: 3.938 kB / 0.9532 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.989e-05/0.82, allocations: 121.5 kB / 0.9533 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.82, allocations: 3.938 kB / 0.9533 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001886/0.8202, allocations: 10.88 kB / 0.9534 GB, free: 5.043 MB / 0.7169 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 9.054e-05/0.8203, allocations: 100.3 kB / 0.9535 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.558e-05/0.8204, allocations: 18.94 kB / 0.9535 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8204, allocations: 0 / 0.9535 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.116e-05/0.8204, allocations: 4.406 kB / 0.9535 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.8206, allocations: 10.77 kB / 0.9535 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.8209, allocations: 185.3 kB / 0.9537 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.821, allocations: 0.6953 MB / 0.9543 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.306e-05/0.821, allocations: 8.109 kB / 0.9544 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.8211, allocations: 11.28 kB / 0.9544 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8211, allocations: 4 kB / 0.9544 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of Templates: time 0.002303/0.8234, allocations: 447.9 kB / 0.9548 GB, free: 3.812 MB / 0.7169 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/jenkins/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