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.001661/0.001661, allocations: 105.7 kB / 16.45 MB, free: 6.5 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.002055/0.002055, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.408/3.408, allocations: 0.49 GB / 0.7916 GB, free: 33.46 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.002094/0.002094, allocations: 73.44 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3475, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002432/0.35, allocations: 0.8274 MB / 1.322 GB, free: 2.492 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001494/0.3501, allocations: 43.8 kB / 1.322 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.3502, allocations: 0 / 1.322 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.223e-05/0.3502, allocations: 7.922 kB / 1.322 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.915e-05/0.3503, allocations: 15.86 kB / 1.322 GB, free: 2.426 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.864e-05/0.3503, allocations: 15.98 kB / 1.322 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.3505, allocations: 67.78 kB / 1.322 GB, free: 2.344 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.3506, allocations: 35.91 kB / 1.322 GB, free: 2.309 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/0.3507, allocations: 23.88 kB / 1.322 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.626e-05/0.3507, allocations: 31.78 kB / 1.322 GB, free: 2.254 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.3508, allocations: 8 kB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.3508, allocations: 8 kB / 1.322 GB, free: 2.238 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.3508, allocations: 12 kB / 1.322 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.3508, allocations: 31.73 kB / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.351, allocations: 83.8 kB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.351, allocations: 0 / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.803e-06/0.351, allocations: 3.938 kB / 1.322 GB, free: 2.109 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.351, allocations: 0 / 1.322 GB, free: 2.109 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.0005488/0.3515, allocations: 387.1 kB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3516, allocations: 15.98 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.04e-05/0.3516, allocations: 38.75 kB / 1.322 GB, free: 1.617 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.3517, allocations: 8.891 kB / 1.322 GB, free: 1.609 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.3519, allocations: 196.2 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.3519, allocations: 4.375 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.3519, allocations: 12.38 kB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.3521, allocations: 90.05 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3521, allocations: 7.922 kB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3521, allocations: 4 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3521, allocations: 8 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.3522, allocations: 39.92 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.3528, allocations: 436.7 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.132e-05/0.3529, allocations: 37.25 kB / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.169e-05/0.3529, allocations: 21.78 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.3529, allocations: 0 / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.353, allocations: 30.56 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.353, allocations: 7.938 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001835/0.3531, allocations: 61.47 kB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.3532, allocations: 85.36 kB / 1.323 GB, free: 440 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.3534, allocations: 156.3 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.3534, allocations: 25.7 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.3535, allocations: 108 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.865e-06/0.3535, allocations: 3.953 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.3535, allocations: 17.72 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3537, allocations: 322.8 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.3537, allocations: 7.938 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.3537, allocations: 21.72 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.728e-05/0.3538, allocations: 25.7 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3538, allocations: 0 / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.555e-05/0.3538, allocations: 61.59 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3539, allocations: 7.938 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3539, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3539, allocations: 4.062 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.571e-05/0.3539, allocations: 11.98 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.354, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.354, allocations: 7.953 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.354, allocations: 0 / 1.324 GB, free: 15.61 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 8.254e-05/0.3541, allocations: 117.8 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.3541, allocations: 11.89 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.3542, allocations: 11.88 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3542, allocations: 4 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3542, allocations: 4 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3542, allocations: 3.984 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.3546, allocations: 466.8 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3546, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.528e-05/0.3546, allocations: 7.938 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3546, allocations: 0 / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.3547, allocations: 0 / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3547, allocations: 4.062 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3547, allocations: 4 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.849e-05/0.3548, allocations: 85.83 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.3548, allocations: 92.94 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.3548, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.097e-05/0.3549, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.3549, allocations: 8.016 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.3549, allocations: 4 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.897e-05/0.355, allocations: 120.9 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.355, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001905/0.3552, allocations: 7.938 kB / 1.325 GB, free: 14.56 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.0004254/0.3556, allocations: 0.6171 MB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.944e-05/0.3557, allocations: 19.92 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3557, allocations: 0 / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-05/0.3557, allocations: 8 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.3559, allocations: 5.719 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3572, allocations: 1.331 MB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.3575, allocations: 0.6924 MB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.099e-05/0.3576, allocations: 8.422 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.3576, allocations: 27.42 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3576, allocations: 4 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.3824, allocations: 1.576 MB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.505, allocations: 18.41 kB / 1.329 GB, free: 10.2 MB / 1.029 GB " [Timeout remaining time 291] (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/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: 15.424272411037236]