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.002018/0.002018, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002546/0.002546, allocations: 214 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.587/1.587, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.195/3.195, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003565/0.003565, allocations: 62.84 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.399, allocations: 176.1 MB / 1.325 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.00273/0.4018, allocations: 0.7936 MB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001509/0.4019, allocations: 35.86 kB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.452e-05/0.402, allocations: 4 kB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.427e-05/0.402, allocations: 11.86 kB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.977e-05/0.4021, allocations: 7.875 kB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.837e-05/0.4022, allocations: 19.98 kB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.4023, allocations: 63.83 kB / 1.326 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.4025, allocations: 27.98 kB / 1.326 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.945e-05/0.4026, allocations: 35.75 kB / 1.326 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.718e-05/0.4026, allocations: 27.83 kB / 1.326 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.4027, allocations: 8 kB / 1.326 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.4027, allocations: 8 kB / 1.326 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/0.4027, allocations: 11.92 kB / 1.326 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.4027, allocations: 27.81 kB / 1.326 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.4029, allocations: 79.8 kB / 1.326 GB, free: 1.176 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4029, allocations: 4 kB / 1.326 GB, free: 1.172 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4029, allocations: 0 / 1.326 GB, free: 1.172 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.4029, allocations: 0 / 1.326 GB, free: 1.172 MB / 1.014 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.0004993/0.4034, allocations: 310 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.4035, allocations: 8.031 kB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.208e-05/0.4035, allocations: 42.73 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.4035, allocations: 8.891 kB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.4038, allocations: 134.4 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.4038, allocations: 12.22 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.4038, allocations: 12.38 kB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.404, allocations: 83.95 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.404, allocations: 3.938 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.404, allocations: 4 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.404, allocations: 11.98 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.387e-05/0.4041, allocations: 39.92 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.4047, allocations: 387.9 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.005e-05/0.4048, allocations: 41.25 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.4048, allocations: 13.78 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/0.4048, allocations: 0 / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.4049, allocations: 38.56 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.4049, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001989/0.4051, allocations: 65.47 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.4051, allocations: 77.11 kB / 1.327 GB, free: 15.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.4053, allocations: 160.3 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.4053, allocations: 29.64 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.4054, allocations: 108 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.4054, allocations: 7.938 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.4055, allocations: 17.72 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4056, allocations: 318.8 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.4056, allocations: 4 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.373e-05/0.4057, allocations: 25.66 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.933e-05/0.4057, allocations: 29.95 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4057, allocations: 0 / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.729e-05/0.4058, allocations: 61.53 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4059, allocations: 11.94 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4059, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4059, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/0.4059, allocations: 7.984 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.406, allocations: 4 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.406, allocations: 7.953 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.406, allocations: 8.062 kB / 1.328 GB, free: 14.89 MB / 1.029 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.0001118/0.4061, allocations: 118.3 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.4062, allocations: 11.89 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.4062, allocations: 7.812 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.4062, allocations: 4 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4062, allocations: 0 / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.4062, allocations: 3.984 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.4067, allocations: 437.8 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4067, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.4067, allocations: 8.062 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4067, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.4067, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4067, allocations: 7.938 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4067, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.4068, allocations: 81.88 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.4068, allocations: 7.953 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.4068, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.4069, allocations: 4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.4069, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.4069, allocations: 11.95 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001193/0.407, allocations: 121.3 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.407, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001936/0.4072, allocations: 8 kB / 1.329 GB, free: 13.98 MB / 1.029 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.0004712/0.4077, allocations: 0.6171 MB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.863e-05/0.4078, allocations: 19.92 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4078, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.4078, allocations: 4.156 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.4079, allocations: 12.12 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.4095, allocations: 1.329 MB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.14e-05/0.4096, allocations: 83.12 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.809e-05/0.4096, allocations: 12.36 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.4097, allocations: 27.42 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.4097, allocations: 0 / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.4395, allocations: 2.103 MB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.83, allocations: 7.859 kB / 1.333 GB, free: 9.758 MB / 1.029 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/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: 18.843118379823864]