Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008364/0.0008364, 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.0008368/0.0008368, allocations: 169.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.9191/0.9191, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.672/1.672, 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.From_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.449e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001224/0.001239, allocations: 0.7974 MB / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.685e-05/0.001336, allocations: 43.72 kB / 0.9513 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.001377, allocations: 4 kB / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.001407, allocations: 7.875 kB / 0.9513 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.196e-05/0.001469, allocations: 3.938 kB / 0.9513 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.542e-05/0.001504, allocations: 19.98 kB / 0.9514 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.618e-05/0.00159, allocations: 63.77 kB / 0.9514 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.001696, allocations: 31.91 kB / 0.9514 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.757e-05/0.001753, allocations: 35.91 kB / 0.9515 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.001801, allocations: 19.92 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.001821, allocations: 8 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-06/0.001827, allocations: 4 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.001846, allocations: 23.91 kB / 0.9515 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.001867, allocations: 11.94 kB / 0.9515 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.687e-05/0.001954, allocations: 75.69 kB / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.001956, allocations: 0 / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.62e-07/0.001956, allocations: 3.938 kB / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.00196, allocations: 0 / 0.9516 GB, free: 2.328 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.0003042/0.002264, allocations: 306 kB / 0.9519 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.002301, allocations: 20.02 kB / 0.9519 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.002331, allocations: 34.75 kB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.101e-05/0.002352, allocations: 12.84 kB / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.002486, allocations: 137.5 kB / 0.9521 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.002497, allocations: 12.31 kB / 0.9521 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.002505, allocations: 4.375 kB / 0.9521 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.002616, allocations: 95.94 kB / 0.9522 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.002624, allocations: 4.125 kB / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.002631, allocations: 384 / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.002639, allocations: 8.125 kB / 0.9522 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.395e-05/0.002703, allocations: 31.98 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.003056, allocations: 392 kB / 0.9526 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.28e-05/0.003099, allocations: 41.09 kB / 0.9527 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.619e-05/0.003125, allocations: 21.83 kB / 0.9527 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.003133, allocations: 7.984 kB / 0.9527 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.00315, allocations: 34.5 kB / 0.9527 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.003151, allocations: 0 / 0.9527 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001309/0.003282, allocations: 49.88 kB / 0.9528 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.003315, allocations: 89.02 kB / 0.9529 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.481e-05/0.00341, allocations: 160.8 kB / 0.953 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.003436, allocations: 25.7 kB / 0.953 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.003482, allocations: 104 kB / 0.9531 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/0.003488, allocations: 7.938 kB / 0.9531 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.003514, allocations: 21.66 kB / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.49e-05/0.003579, allocations: 318.8 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.003592, allocations: 8 kB / 0.9535 GB, free: 212 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.5e-05/0.003607, allocations: 17.7 kB / 0.9535 GB, free: 188 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.117e-05/0.003638, allocations: 29.72 kB / 0.9535 GB, free: 152 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.00364, allocations: 4 kB / 0.9535 GB, free: 148 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.922e-05/0.00369, allocations: 61.58 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.0037, allocations: 4 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.003704, allocations: 0 / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.003715, allocations: 4 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.531e-05/0.00376, allocations: 7.938 kB / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.003764, allocations: 0 / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/0.003781, allocations: 11.94 kB / 0.9536 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-06/0.003784, allocations: 0 / 0.9536 GB, free: 52 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.16e-05/0.003845, allocations: 121.8 kB / 0.9537 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.003867, allocations: 11.91 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.003884, allocations: 15.73 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.003885, allocations: 0 / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.003889, allocations: 3.938 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.003892, allocations: 0 / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.004134, allocations: 437.9 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.004135, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-06/0.004145, allocations: 7.938 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.004146, allocations: 4.062 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.004151, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.004152, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.004153, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.234e-05/0.004205, allocations: 81.88 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.004223, allocations: 15.88 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.455e-06/0.004232, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-06/0.004242, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.04e-05/0.004252, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-07/0.004253, allocations: 4 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.555e-05/0.004308, allocations: 126.3 kB / 0.9544 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004308, allocations: 4 kB / 0.9544 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001214/0.00443, allocations: 11.94 kB / 0.9544 GB, free: 15.14 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.0002347/0.004665, allocations: 0.6054 MB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.895e-05/0.004724, allocations: 19.94 kB / 0.955 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.004725, allocations: 0 / 0.955 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.863e-06/0.004732, allocations: 8 kB / 0.955 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.004839, allocations: 8.344 kB / 0.955 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/0.0056, allocations: 1.345 MB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.931e-05/0.005639, allocations: 75.33 kB / 0.9564 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.005663, allocations: 8.484 kB / 0.9564 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.005701, allocations: 24.5 kB / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of SimCode: time 2.81e-07/0.005701, allocations: 4 kB / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.02055, allocations: 2.245 MB / 0.9587 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.593/6.614, allocations: 1.719 kB / 0.9587 GB, free: 10.78 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.579229676164687]