Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008173/0.0008173, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008424/0.0008424, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8986/0.8986, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.719/1.719, allocations: 377.8 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/2.015e-05, allocations: 2.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.00136/0.001381, allocations: 0.7893 MB / 0.9817 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001067/0.001487, allocations: 43.84 kB / 0.9818 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.001532, allocations: 4 kB / 0.9818 GB, free: 1.75 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.001565, allocations: 7.875 kB / 0.9818 GB, free: 1.742 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.827e-05/0.001633, allocations: 15.8 kB / 0.9818 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.622e-05/0.001669, allocations: 15.98 kB / 0.9818 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.463e-05/0.001764, allocations: 63.84 kB / 0.9819 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.001882, allocations: 27.97 kB / 0.9819 GB, free: 1.621 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.349e-05/0.001945, allocations: 39.84 kB / 0.982 GB, free: 1.582 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.13e-05/0.001997, allocations: 23.89 kB / 0.982 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.002018, allocations: 4 kB / 0.982 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-06/0.002025, allocations: 8 kB / 0.982 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.002041, allocations: 11.94 kB / 0.982 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.002068, allocations: 27.91 kB / 0.982 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.273e-05/0.002161, allocations: 71.7 kB / 0.9821 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002163, allocations: 0 / 0.9821 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.944e-06/0.002165, allocations: 3.984 kB / 0.9821 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.002169, allocations: 0 / 0.9821 GB, free: 1.434 MB / 0.9323 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.0003295/0.002499, allocations: 302 kB / 0.9824 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.002536, allocations: 8.031 kB / 0.9824 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.002569, allocations: 46.73 kB / 0.9824 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.203e-05/0.002591, allocations: 12.84 kB / 0.9824 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.002736, allocations: 133.6 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.002744, allocations: 8.375 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.002756, allocations: 12.38 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.002877, allocations: 91.89 kB / 0.9827 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.002884, allocations: 192 / 0.9827 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.002894, allocations: 4.375 kB / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.002903, allocations: 12.05 kB / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.00296, allocations: 35.98 kB / 0.9827 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.003348, allocations: 391.8 kB / 0.9831 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.723e-05/0.003395, allocations: 37.22 kB / 0.9831 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.003425, allocations: 21.81 kB / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.003434, allocations: 7.938 kB / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.003453, allocations: 34.56 kB / 0.9832 GB, free: 144 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.003454, allocations: 0 / 0.9832 GB, free: 144 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001347/0.003589, allocations: 53.58 kB / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.003636, allocations: 81.05 kB / 0.9833 GB, free: 15.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.003742, allocations: 160.3 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.003751, allocations: 25.7 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.003806, allocations: 112.3 kB / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.686e-06/0.003815, allocations: 11.89 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.003842, allocations: 17.72 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.003916, allocations: 318.8 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.003929, allocations: 4 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.003946, allocations: 21.72 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.003979, allocations: 29.66 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00398, allocations: 0 / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.485e-05/0.004035, allocations: 53.64 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.00405, allocations: 14.41 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.004055, allocations: 0 / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.004067, allocations: 3.938 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.317e-05/0.00412, allocations: 11.94 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.004126, allocations: 3.984 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.004142, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.004146, allocations: 4 kB / 0.9841 GB, free: 15.16 MB / 0.948 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.618e-05/0.004202, allocations: 113.8 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.004225, allocations: 11.91 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.004248, allocations: 7.812 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.00425, allocations: 8 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.004255, allocations: 3.938 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.004257, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.004506, allocations: 433.9 kB / 0.9846 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.004507, allocations: 0 / 0.9846 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.248e-05/0.00452, allocations: 7.938 kB / 0.9846 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.004521, allocations: 0 / 0.9846 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.004526, allocations: 0 / 0.9846 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.004527, allocations: 4 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.004528, allocations: 7.875 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.581e-05/0.004584, allocations: 85.94 kB / 0.9847 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.004602, allocations: 11.89 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.004613, allocations: 4 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-06/0.004622, allocations: 4 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.004632, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.004634, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.631e-05/0.00469, allocations: 122.1 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00469, allocations: 0 / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001371/0.004827, allocations: 15.94 kB / 0.9849 GB, free: 14.25 MB / 0.948 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.0002966/0.005124, allocations: 0.621 MB / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.359e-05/0.005217, allocations: 15.98 kB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.00522, allocations: 0 / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.498e-06/0.005229, allocations: 7.938 kB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.005401, allocations: 11.91 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.006486, allocations: 1.335 MB / 0.9868 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.714e-05/0.006543, allocations: 79.55 kB / 0.9869 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.542e-05/0.006579, allocations: 12.48 kB / 0.9869 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.006631, allocations: 24.48 kB / 0.9869 GB, free: 11.99 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.006631, allocations: 4 kB / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.02169, allocations: 2.233 MB / 0.9891 GB, free: 9.895 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.863/6.884, allocations: 11.45 kB / 0.9891 GB, free: 9.891 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.829748947173357]