Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001173/0.001172, allocations: 99.11 kB / 16.02 MB, free: 72 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.001606/0.001606, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.389/1.389, allocations: 223.3 MB / 241 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.775/2.775, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004217, allocations: 11.38 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3208, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001079/0.3219, allocations: 0.5414 MB / 1.06 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001396/0.322, allocations: 39.78 kB / 1.06 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/0.3221, allocations: 4 kB / 1.06 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.3221, allocations: 3.938 kB / 1.06 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.389e-05/0.3222, allocations: 7.922 kB / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.169e-05/0.3223, allocations: 16 kB / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.3224, allocations: 63.75 kB / 1.06 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.3226, allocations: 39.97 kB / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.845e-05/0.3227, allocations: 23.84 kB / 1.06 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.314e-05/0.3227, allocations: 19.81 kB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.3228, allocations: 4 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.3228, allocations: 4 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.3228, allocations: 7.922 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.575e-05/0.3229, allocations: 57.45 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.235e-05/0.323, allocations: 44.17 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.323, allocations: 0 / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.813e-06/0.323, allocations: 0 / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.323, allocations: 0 / 1.06 GB, free: 4.086 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.0004516/0.3235, allocations: 375.3 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3235, allocations: 8.031 kB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.3236, allocations: 8.844 kB / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.3238, allocations: 196.1 kB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3238, allocations: 4.375 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.3238, allocations: 8.375 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.324, allocations: 91.94 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.324, allocations: 192 / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.324, allocations: 11.92 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.324, allocations: 4 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-05/0.3241, allocations: 43.86 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/0.3247, allocations: 428.5 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.383e-05/0.3247, allocations: 45.28 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/0.3248, allocations: 17.84 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.3248, allocations: 3.984 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.3248, allocations: 34.56 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3248, allocations: 0 / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001634/0.325, allocations: 61.58 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.325, allocations: 77.11 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3252, allocations: 163.7 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.3252, allocations: 25.7 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.3253, allocations: 107.9 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.811e-06/0.3253, allocations: 0 / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.3253, allocations: 17.72 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3254, allocations: 318.8 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.3255, allocations: 12.09 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-05/0.3255, allocations: 25.64 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.487e-05/0.3255, allocations: 21.72 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3255, allocations: 4 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.712e-05/0.3256, allocations: 57.55 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3257, allocations: 5.406 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3257, allocations: 8 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3257, allocations: 7.984 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.816e-05/0.3258, allocations: 4 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3258, allocations: 0 / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.3258, allocations: 11.84 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.3258, allocations: 0 / 1.062 GB, free: 1.66 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 8.713e-05/0.3259, allocations: 113.8 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.326, allocations: 7.906 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.326, allocations: 19.8 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.326, allocations: 8 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.326, allocations: 0 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.326, allocations: 3.938 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.3264, allocations: 466.8 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3264, allocations: 0 / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.3264, allocations: 7.938 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3265, allocations: 0 / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3265, allocations: 8.062 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3265, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3265, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.641e-05/0.3266, allocations: 85.77 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.3266, allocations: 85.02 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.3267, allocations: 3.984 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/0.3267, allocations: 0 / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.3267, allocations: 8.031 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.3267, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.589e-05/0.3268, allocations: 130 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3268, allocations: 0 / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001874/0.327, allocations: 11.91 kB / 1.063 GB, free: 0.6094 MB / 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.0001189/0.3271, allocations: 95.25 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.828e-05/0.3272, allocations: 12 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3272, allocations: 8.125 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.365e-05/0.3273, allocations: 11.88 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.3274, allocations: 7.938 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.3278, allocations: 210.4 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.328, allocations: 0.6887 MB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.328, allocations: 11.44 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.328, allocations: 0 / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of Templates: time 0.00218/0.3302, allocations: 0.8589 MB / 1.065 GB, free: 14.63 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches