Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001654/0.001654, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002005/0.002005, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.592/1.592, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.012/3.012, allocations: 0.49 GB / 0.7923 GB, free: 1.48 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.To_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="cs",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.002112/0.002112, allocations: 67.89 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8824/0.8845, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.00171/0.8862, allocations: 0.8364 MB / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 9.88e-05/0.8863, allocations: 40.91 kB / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.8864, allocations: 0 / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.8864, allocations: 11.3 kB / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.224e-05/0.8865, allocations: 6.844 kB / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.921e-05/0.8865, allocations: 21.56 kB / 1.322 GB, free: 24.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.167e-05/0.8866, allocations: 61.56 kB / 1.322 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.8867, allocations: 27.41 kB / 1.322 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.031e-05/0.8868, allocations: 34.67 kB / 1.322 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.962e-05/0.8868, allocations: 26.08 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.8868, allocations: 5.906 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-06/0.8868, allocations: 6 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.8869, allocations: 17.95 kB / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.8869, allocations: 36.69 kB / 1.323 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.076e-05/0.887, allocations: 73.5 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.887, allocations: 4 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.182e-06/0.887, allocations: 0 / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.887, allocations: 0 / 1.323 GB, free: 24 MB / 1.061 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.0003168/0.8873, allocations: 385.8 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.8873, allocations: 12.27 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.159e-05/0.8874, allocations: 2.938 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.054e-05/0.8874, allocations: 40.94 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.8874, allocations: 10.45 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.8876, allocations: 201.7 kB / 1.323 GB, free: 23.33 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.8876, allocations: 7.156 kB / 1.323 GB, free: 23.33 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.8876, allocations: 3.188 kB / 1.323 GB, free: 23.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.8877, allocations: 104.5 kB / 1.323 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.8877, allocations: 0 / 1.323 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.8877, allocations: 2.594 kB / 1.323 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.8877, allocations: 0 / 1.323 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.426e-05/0.8878, allocations: 43.45 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.8882, allocations: 438.5 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.078e-05/0.8882, allocations: 44.03 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.8882, allocations: 19.81 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.8882, allocations: 0 / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.097e-05/0.8883, allocations: 37.53 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.8883, allocations: 7.938 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001476/0.8884, allocations: 56.81 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.8884, allocations: 83.7 kB / 1.324 GB, free: 22.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.94e-05/0.8885, allocations: 160.9 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.8885, allocations: 28.61 kB / 1.324 GB, free: 22.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.8886, allocations: 98.19 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.184e-06/0.8886, allocations: 6.859 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.8886, allocations: 20.38 kB / 1.324 GB, free: 22.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.474e-05/0.8886, allocations: 320.5 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.8887, allocations: 7.188 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.712e-05/0.8887, allocations: 19.02 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.186e-05/0.8887, allocations: 26.62 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8887, allocations: 0 / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.699e-05/0.8888, allocations: 58.72 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.8888, allocations: 12.03 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.8888, allocations: 0 / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.8888, allocations: 2.5 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.8889, allocations: 5.562 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.8889, allocations: 0 / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.8889, allocations: 10.55 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.8889, allocations: 4 kB / 1.325 GB, free: 21.86 MB / 1.061 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 4.587e-05/0.889, allocations: 123.1 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.889, allocations: 10.48 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.889, allocations: 13.89 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.889, allocations: 2.406 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.889, allocations: 0 / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.889, allocations: 0 / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.8893, allocations: 476.3 kB / 1.325 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8893, allocations: 64 / 1.325 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.802e-05/0.8893, allocations: 6.875 kB / 1.325 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8893, allocations: 3.938 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.8893, allocations: 2.844 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.8893, allocations: 3.375 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.8893, allocations: 0 / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.617e-05/0.8894, allocations: 80.09 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.8894, allocations: 99.2 kB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.8894, allocations: 0 / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.073e-05/0.8894, allocations: 3.938 kB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.8894, allocations: 2.844 kB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.8894, allocations: 0 / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.8895, allocations: 124.1 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8895, allocations: 0 / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001867/0.8897, allocations: 8.969 kB / 1.326 GB, free: 20.93 MB / 1.061 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.0002207/0.8899, allocations: 0.6129 MB / 1.326 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.641e-05/0.89, allocations: 19.19 kB / 1.326 GB, free: 20.31 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.89, allocations: 0 / 1.326 GB, free: 20.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.107e-06/0.89, allocations: 3.062 kB / 1.326 GB, free: 20.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.8902, allocations: 16.14 kB / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007905/0.891, allocations: 1.335 MB / 1.328 GB, free: 19.08 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.922e-05/0.891, allocations: 0.6891 MB / 1.328 GB, free: 18.38 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.646e-05/0.8911, allocations: 10.64 kB / 1.328 GB, free: 18.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.8911, allocations: 23.81 kB / 1.328 GB, free: 18.36 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.8911, allocations: 0 / 1.328 GB, free: 18.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.9078, allocations: 1.633 MB / 1.33 GB, free: 17.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.553/9.461, allocations: 11.7 kB / 1.33 GB, free: 17.95 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 16.14275517099304]