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.001093/0.001093, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009435/0.009435, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.52/1.52, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 443.3 MB / 0.7175 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.0004117, allocations: 8.625 kB / 0.8796 GB, free: 41.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3906, allocations: 155.2 MB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001168/0.3919, allocations: 0.542 MB / 1.032 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001316/0.392, allocations: 35.8 kB / 1.032 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.1e-05/0.3921, allocations: 0 / 1.032 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.3921, allocations: 7.922 kB / 1.032 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.229e-05/0.3922, allocations: 7.938 kB / 1.032 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.029e-05/0.3923, allocations: 12 kB / 1.032 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.3924, allocations: 59.83 kB / 1.032 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.3926, allocations: 43.97 kB / 1.032 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.763e-05/0.3927, allocations: 19.8 kB / 1.032 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.3928, allocations: 19.86 kB / 1.032 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.3928, allocations: 4 kB / 1.032 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-06/0.3928, allocations: 0 / 1.032 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.3928, allocations: 11.94 kB / 1.032 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.3929, allocations: 49.52 kB / 1.032 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.393, allocations: 71.89 kB / 1.032 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.393, allocations: 0 / 1.032 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.417e-06/0.393, allocations: 0 / 1.032 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.393, allocations: 0 / 1.032 GB, free: 3.469 MB / 0.7794 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.0005061/0.3935, allocations: 367.2 kB / 1.032 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.3936, allocations: 11.97 kB / 1.032 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.3937, allocations: 8.844 kB / 1.032 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.3939, allocations: 204.1 kB / 1.033 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.394, allocations: 8.375 kB / 1.033 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.394, allocations: 4.375 kB / 1.033 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3942, allocations: 87.95 kB / 1.033 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3942, allocations: 192 / 1.033 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3942, allocations: 7.938 kB / 1.033 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3942, allocations: 0 / 1.033 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.028e-05/0.3943, allocations: 39.92 kB / 1.033 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006742/0.395, allocations: 440.5 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.291e-05/0.3951, allocations: 41.39 kB / 1.033 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.514e-05/0.3951, allocations: 25.72 kB / 1.033 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.3952, allocations: 0 / 1.033 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3952, allocations: 30.56 kB / 1.033 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3952, allocations: 7.938 kB / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002097/0.3954, allocations: 57.47 kB / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.3955, allocations: 77.36 kB / 1.033 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.3957, allocations: 173 kB / 1.033 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.3957, allocations: 25.7 kB / 1.034 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.3958, allocations: 96.05 kB / 1.034 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.3958, allocations: 11.89 kB / 1.034 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.3958, allocations: 13.72 kB / 1.034 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.396, allocations: 314.8 kB / 1.034 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/0.396, allocations: 7.984 kB / 1.034 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.3961, allocations: 21.72 kB / 1.034 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.929e-05/0.3961, allocations: 25.72 kB / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3961, allocations: 0 / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001086/0.3963, allocations: 61.53 kB / 1.034 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3963, allocations: 4 kB / 1.034 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3963, allocations: 3.938 kB / 1.034 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3963, allocations: 4 kB / 1.034 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.622e-05/0.3964, allocations: 4.062 kB / 1.034 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.3964, allocations: 4 kB / 1.034 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.015e-05/0.3965, allocations: 11.84 kB / 1.034 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.3965, allocations: 96 / 1.034 GB, free: 1.051 MB / 0.7794 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 0.0001299/0.3966, allocations: 121.7 kB / 1.034 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.3967, allocations: 15.88 kB / 1.034 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.3967, allocations: 15.81 kB / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3968, allocations: 0 / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3968, allocations: 3.938 kB / 1.034 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.3968, allocations: 4 kB / 1.034 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.3973, allocations: 467.3 kB / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3973, allocations: 4 kB / 1.035 GB, free: 368 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-05/0.3973, allocations: 4 kB / 1.035 GB, free: 364 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3973, allocations: 0 / 1.035 GB, free: 364 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3973, allocations: 4 kB / 1.035 GB, free: 360 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3973, allocations: 3.984 kB / 1.035 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3973, allocations: 0 / 1.035 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.3975, allocations: 81.91 kB / 1.035 GB, free: 252 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.562e-05/0.3975, allocations: 92.94 kB / 1.035 GB, free: 140 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.3976, allocations: 0 / 1.035 GB, free: 140 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.3976, allocations: 0 / 1.035 GB, free: 140 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.3976, allocations: 11.94 kB / 1.035 GB, free: 128 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.3976, allocations: 0 / 1.035 GB, free: 128 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001158/0.3978, allocations: 124.9 kB / 1.035 GB, free: 4 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3978, allocations: 0 / 1.035 GB, free: 4 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002271/0.398, allocations: 11.95 kB / 1.035 GB, free: 15.99 MB / 0.795 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.0001602/0.3982, allocations: 95.25 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.3983, allocations: 19.94 kB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3983, allocations: 0 / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.36e-05/0.3983, allocations: 8.125 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.3985, allocations: 12 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004158/0.399, allocations: 172.6 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.3993, allocations: 0.7004 MB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.159e-05/0.3994, allocations: 4.438 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.3994, allocations: 11.44 kB / 1.036 GB, free: 14.89 MB / 0.795 GB Notification: Performance of SimCode: time 6.21e-07/0.3994, allocations: 0 / 1.036 GB, free: 14.89 MB / 0.795 GB Notification: Performance of Templates: time 0.002805/0.4022, allocations: 428.6 kB / 1.036 GB, free: 14.48 MB / 0.795 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/jenkins/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