Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 443.5 MB / 0.7287 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.89 kB / 1.056 GB, free: 2.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3298, allocations: 160.7 MB / 1.213 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002037/0.3318, allocations: 0.8253 MB / 1.214 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001103/0.3319, allocations: 39.78 kB / 1.214 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.332, allocations: 4 kB / 1.214 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.86e-05/0.332, allocations: 11.86 kB / 1.214 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.201e-05/0.3321, allocations: 3.938 kB / 1.214 GB, free: 500 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.532e-05/0.3322, allocations: 23.92 kB / 1.214 GB, free: 476 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.3323, allocations: 59.84 kB / 1.214 GB, free: 416 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.3324, allocations: 47.94 kB / 1.214 GB, free: 368 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.3325, allocations: 19.88 kB / 1.214 GB, free: 348 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.753e-05/0.3325, allocations: 35.78 kB / 1.214 GB, free: 312 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.3326, allocations: 4 kB / 1.214 GB, free: 308 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.3326, allocations: 11.94 kB / 1.214 GB, free: 296 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.3326, allocations: 11.94 kB / 1.214 GB, free: 284 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.3326, allocations: 35.8 kB / 1.214 GB, free: 248 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.3327, allocations: 79.8 kB / 1.214 GB, free: 168 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3327, allocations: 0 / 1.214 GB, free: 168 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3327, allocations: 4 kB / 1.214 GB, free: 164 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3328, allocations: 0 / 1.214 GB, free: 164 kB / 0.9512 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.000465/0.3332, allocations: 383.1 kB / 1.214 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3333, allocations: 12.03 kB / 1.214 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.3333, allocations: 34.75 kB / 1.215 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.3333, allocations: 16.84 kB / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.3336, allocations: 192.2 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3336, allocations: 8.375 kB / 1.215 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.3336, allocations: 8.312 kB / 1.215 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.3338, allocations: 97.98 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3338, allocations: 3.938 kB / 1.215 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3338, allocations: 0 / 1.215 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3338, allocations: 0 / 1.215 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.646e-05/0.3339, allocations: 39.92 kB / 1.215 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006455/0.3345, allocations: 436.6 kB / 1.215 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.632e-05/0.3346, allocations: 45.28 kB / 1.215 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.469e-05/0.3346, allocations: 21.84 kB / 1.215 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.3347, allocations: 0 / 1.215 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.3347, allocations: 30.56 kB / 1.215 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3347, allocations: 4 kB / 1.215 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001964/0.3349, allocations: 57.52 kB / 1.215 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.3349, allocations: 81.11 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.3351, allocations: 158.2 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3352, allocations: 25.7 kB / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.3353, allocations: 104 kB / 1.216 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.3353, allocations: 7.891 kB / 1.216 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.3353, allocations: 21.92 kB / 1.216 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002214/0.3355, allocations: 326.8 kB / 1.216 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.3356, allocations: 4 kB / 1.216 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/0.3356, allocations: 21.7 kB / 1.216 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.156e-05/0.3357, allocations: 29.7 kB / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3357, allocations: 0 / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.966e-05/0.3358, allocations: 57.59 kB / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3358, allocations: 11.94 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3358, allocations: 0 / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3358, allocations: 3.938 kB / 1.216 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/0.3359, allocations: 4 kB / 1.216 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.3359, allocations: 7.984 kB / 1.216 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.3359, allocations: 0 / 1.216 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3359, allocations: 4 kB / 1.216 GB, free: 13.68 MB / 0.9669 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.0001071/0.336, allocations: 109.8 kB / 1.216 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.3361, allocations: 19.89 kB / 1.216 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.3361, allocations: 11.88 kB / 1.216 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3361, allocations: 3.938 kB / 1.216 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3361, allocations: 4 kB / 1.216 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.3361, allocations: 3.984 kB / 1.216 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.3366, allocations: 474.7 kB / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3366, allocations: 4 kB / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.3367, allocations: 8.062 kB / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3367, allocations: 0 / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3367, allocations: 0 / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3367, allocations: 0 / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3367, allocations: 0 / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.963e-05/0.3368, allocations: 77.88 kB / 1.217 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.753e-05/0.3369, allocations: 89.06 kB / 1.217 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3369, allocations: 8.031 kB / 1.217 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/0.3369, allocations: 0 / 1.217 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.3369, allocations: 7.922 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.3369, allocations: 0 / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001263/0.337, allocations: 116.9 kB / 1.217 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.337, allocations: 0 / 1.217 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002087/0.3373, allocations: 11.94 kB / 1.217 GB, free: 12.63 MB / 0.9669 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.000554/0.3378, allocations: 0.6171 MB / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.3379, allocations: 23.92 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3379, allocations: 0 / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.218e-05/0.3379, allocations: 4 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.3381, allocations: 12.28 kB / 1.218 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.3397, allocations: 1.336 MB / 1.219 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.3401, allocations: 0.6885 MB / 1.22 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.025e-05/0.3401, allocations: 12.42 kB / 1.22 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.3402, allocations: 23.42 kB / 1.22 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3402, allocations: 0 / 1.22 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.3659, allocations: 1.591 MB / 1.221 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.373, allocations: 5.641 kB / 1.221 GB, free: 8.262 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.569513648282737]