Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001759/0.001759, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.31 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3119, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002175/0.3141, allocations: 0.823 MB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000114/0.3143, allocations: 39.8 kB / 0.952 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.3143, allocations: 3.938 kB / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.358e-05/0.3144, allocations: 15.86 kB / 0.952 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.876e-05/0.3145, allocations: 15.86 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.616e-05/0.3145, allocations: 11.98 kB / 0.952 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.3146, allocations: 63.84 kB / 0.9521 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.3148, allocations: 39.97 kB / 0.9521 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.721e-05/0.3148, allocations: 23.88 kB / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.3149, allocations: 27.84 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.3149, allocations: 8 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.315, allocations: 4 kB / 0.9522 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.315, allocations: 19.88 kB / 0.9522 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.315, allocations: 35.73 kB / 0.9522 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.3151, allocations: 71.7 kB / 0.9523 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3151, allocations: 0 / 0.9523 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3152, allocations: 0 / 0.9523 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.3152, allocations: 4 kB / 0.9523 GB, free: 6.832 MB / 0.7325 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.0004709/0.3156, allocations: 384 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3157, allocations: 12.03 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.3157, allocations: 8.844 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.3159, allocations: 196.1 kB / 0.9529 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.316, allocations: 8.375 kB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.316, allocations: 8.375 kB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3161, allocations: 99.84 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3162, allocations: 192 / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3162, allocations: 7.938 kB / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3162, allocations: 4 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.245e-05/0.3163, allocations: 31.92 kB / 0.953 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.3168, allocations: 432.6 kB / 0.9534 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.577e-05/0.3169, allocations: 45.27 kB / 0.9535 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.3169, allocations: 21.84 kB / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.317, allocations: 0 / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.317, allocations: 30.56 kB / 0.9535 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.265e-06/0.317, allocations: 0 / 0.9535 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001826/0.3172, allocations: 61.48 kB / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3172, allocations: 85.03 kB / 0.9537 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.3174, allocations: 164.8 kB / 0.9538 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.3174, allocations: 25.7 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.3175, allocations: 108 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-06/0.3175, allocations: 3.906 kB / 0.954 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.3175, allocations: 25.64 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3177, allocations: 319.1 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.3177, allocations: 11.98 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.36e-05/0.3177, allocations: 21.66 kB / 0.9543 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.3178, allocations: 21.72 kB / 0.9543 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3178, allocations: 0 / 0.9543 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.584e-05/0.3179, allocations: 73.56 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3179, allocations: 4 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3179, allocations: 3.938 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3179, allocations: 0 / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.219e-05/0.318, allocations: 8 kB / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.318, allocations: 0 / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.318, allocations: 7.844 kB / 0.9544 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.318, allocations: 4 kB / 0.9544 GB, free: 4.379 MB / 0.7325 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.701e-05/0.3181, allocations: 119.8 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.3182, allocations: 15.92 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.3182, allocations: 7.812 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3182, allocations: 4 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3182, allocations: 0 / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3182, allocations: 0 / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.3186, allocations: 470.8 kB / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3186, allocations: 0 / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/0.3186, allocations: 4 kB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3187, allocations: 4.062 kB / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.3187, allocations: 0 / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3187, allocations: 3.984 kB / 0.955 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3187, allocations: 4 kB / 0.955 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.845e-05/0.3188, allocations: 77.84 kB / 0.9551 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.3188, allocations: 89 kB / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.3188, allocations: 7.969 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.962e-05/0.3189, allocations: 0 / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.3189, allocations: 0 / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.3189, allocations: 4 kB / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.702e-05/0.319, allocations: 121.3 kB / 0.9553 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.319, allocations: 0 / 0.9553 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001856/0.3192, allocations: 8 kB / 0.9553 GB, free: 3.348 MB / 0.7325 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.0001198/0.3193, allocations: 99.78 kB / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.623e-05/0.3194, allocations: 19.98 kB / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3194, allocations: 3.938 kB / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.016e-05/0.3194, allocations: 7.938 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.3196, allocations: 14.44 kB / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.3199, allocations: 166.8 kB / 0.9556 GB, free: 3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.3202, allocations: 0.7042 MB / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.3202, allocations: 4.438 kB / 0.9563 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.3203, allocations: 11.44 kB / 0.9563 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of SimCode: time 1.91e-07/0.3203, allocations: 0 / 0.9563 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of Templates: time 0.002469/0.3227, allocations: 452.6 kB / 0.9568 GB, free: 1.812 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches