Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000817/0.000817, 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.0008594/0.0008594, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9032/0.9032, allocations: 177.1 MB / 202.7 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.613/1.613, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.774e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001394/0.001412, allocations: 0.7895 MB / 0.9513 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001108/0.001523, allocations: 43.84 kB / 0.9513 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.001571, allocations: 0 / 0.9513 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.001609, allocations: 11.86 kB / 0.9513 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.001687, allocations: 11.81 kB / 0.9513 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.744e-05/0.001725, allocations: 19.98 kB / 0.9514 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.221e-05/0.001817, allocations: 63.83 kB / 0.9514 GB, free: 2.516 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.001958, allocations: 27.97 kB / 0.9514 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.002043, allocations: 39.89 kB / 0.9515 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.82e-05/0.002082, allocations: 15.92 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.002103, allocations: 11.94 kB / 0.9515 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.00211, allocations: 8 kB / 0.9515 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.002129, allocations: 19.92 kB / 0.9515 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.002154, allocations: 11.98 kB / 0.9515 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.002258, allocations: 75.69 kB / 0.9516 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.00226, allocations: 0 / 0.9516 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.12e-07/0.002261, allocations: 3.938 kB / 0.9516 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.002265, allocations: 0 / 0.9516 GB, free: 2.305 MB / 0.9011 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.0003605/0.002626, allocations: 312 kB / 0.9519 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.002669, allocations: 8.031 kB / 0.9519 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.002706, allocations: 46.73 kB / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.002729, allocations: 12.84 kB / 0.952 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.002889, allocations: 133.6 kB / 0.9521 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.002901, allocations: 8.375 kB / 0.9521 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.00291, allocations: 4.375 kB / 0.9521 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.003039, allocations: 98.22 kB / 0.9522 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.003047, allocations: 192 / 0.9522 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.003058, allocations: 4.375 kB / 0.9522 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.003065, allocations: 4.125 kB / 0.9522 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.263e-05/0.003128, allocations: 35.98 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.003559, allocations: 399.7 kB / 0.9526 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.148e-05/0.00361, allocations: 37.22 kB / 0.9527 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.003639, allocations: 21.86 kB / 0.9527 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.003646, allocations: 7.922 kB / 0.9527 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.003666, allocations: 34.56 kB / 0.9527 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.003667, allocations: 3.938 kB / 0.9527 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001361/0.003803, allocations: 49.59 kB / 0.9528 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.003841, allocations: 85.3 kB / 0.9529 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.003941, allocations: 165 kB / 0.953 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.00395, allocations: 25.7 kB / 0.9531 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.003998, allocations: 100.1 kB / 0.9531 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-06/0.004006, allocations: 7.953 kB / 0.9532 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.004031, allocations: 17.67 kB / 0.9532 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.004112, allocations: 322.8 kB / 0.9535 GB, free: 196 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.004126, allocations: 8 kB / 0.9535 GB, free: 188 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.004142, allocations: 17.7 kB / 0.9535 GB, free: 164 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/0.004179, allocations: 37.66 kB / 0.9535 GB, free: 120 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.004181, allocations: 0 / 0.9535 GB, free: 120 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.471e-05/0.004235, allocations: 57.64 kB / 0.9536 GB, free: 56 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.004247, allocations: 4 kB / 0.9536 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.004251, allocations: 0 / 0.9536 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.004262, allocations: 0 / 0.9536 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.73e-05/0.004309, allocations: 15.88 kB / 0.9536 GB, free: 36 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.004314, allocations: 0 / 0.9536 GB, free: 36 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.648e-05/0.004331, allocations: 3.938 kB / 0.9536 GB, free: 32 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.004334, allocations: 4 kB / 0.9536 GB, free: 28 kB / 0.9011 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 6.32e-05/0.004397, allocations: 121.8 kB / 0.9537 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.004418, allocations: 7.953 kB / 0.9537 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.973e-05/0.004438, allocations: 15.8 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.00444, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.004445, allocations: 3.938 kB / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.004447, allocations: 0 / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.004692, allocations: 433.9 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.004692, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.687e-06/0.004701, allocations: 7.938 kB / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.004702, allocations: 0 / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.00471, allocations: 12.06 kB / 0.9542 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.004711, allocations: 0 / 0.9542 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004711, allocations: 0 / 0.9542 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.263e-05/0.004764, allocations: 81.88 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.004781, allocations: 11.83 kB / 0.9543 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.004796, allocations: 7.984 kB / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-06/0.004805, allocations: 0 / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.021e-05/0.004815, allocations: 0 / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.004817, allocations: 0 / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.63e-05/0.004873, allocations: 123.2 kB / 0.9544 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004873, allocations: 4.031 kB / 0.9544 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000121/0.004994, allocations: 8 kB / 0.9544 GB, free: 15.12 MB / 0.9167 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.0002405/0.005235, allocations: 0.6132 MB / 0.955 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.576e-05/0.0053, allocations: 12 kB / 0.955 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.005302, allocations: 0 / 0.955 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.756e-06/0.005311, allocations: 11.94 kB / 0.955 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000112/0.005423, allocations: 4 kB / 0.955 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008551/0.006278, allocations: 1.348 MB / 0.9564 GB, free: 13 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.74e-05/0.006325, allocations: 79.27 kB / 0.9564 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.658e-05/0.006352, allocations: 8.484 kB / 0.9564 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.006394, allocations: 24.5 kB / 0.9565 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of SimCode: time 6.71e-07/0.006395, allocations: 0 / 0.9565 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.02225, allocations: 2.241 MB / 0.9587 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.565/6.587, allocations: 5.875 kB / 0.9587 GB, free: 10.76 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.488357324153185]