Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.0008908/0.0008908, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001026/0.001026, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9173/0.9173, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.712/1.712, 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_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.34e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001825/0.001859, allocations: 0.7978 MB / 0.9513 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001112/0.00197, allocations: 43.78 kB / 0.9513 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.002017, allocations: 0 / 0.9513 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.976e-05/0.002057, allocations: 15.8 kB / 0.9513 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.128e-05/0.002138, allocations: 11.92 kB / 0.9514 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.003e-05/0.002178, allocations: 15.98 kB / 0.9514 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.877e-05/0.002277, allocations: 59.84 kB / 0.9514 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.002399, allocations: 27.97 kB / 0.9515 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.827e-05/0.002487, allocations: 43.83 kB / 0.9515 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.038e-05/0.002527, allocations: 19.92 kB / 0.9515 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.00255, allocations: 8 kB / 0.9515 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-06/0.002557, allocations: 4 kB / 0.9515 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.002577, allocations: 23.91 kB / 0.9515 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.002604, allocations: 15.94 kB / 0.9516 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.002714, allocations: 75.62 kB / 0.9516 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.002716, allocations: 0 / 0.9516 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.092e-06/0.002717, allocations: 3.938 kB / 0.9516 GB, free: 2.301 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.002721, allocations: 0 / 0.9516 GB, free: 2.301 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.0003692/0.003091, allocations: 302 kB / 0.9519 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.003139, allocations: 16.03 kB / 0.9519 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.003173, allocations: 42.73 kB / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.003195, allocations: 12.84 kB / 0.952 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.003357, allocations: 137.5 kB / 0.9521 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.003368, allocations: 8.312 kB / 0.9521 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.003378, allocations: 8.375 kB / 0.9521 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.003503, allocations: 98.44 kB / 0.9522 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.003511, allocations: 192 / 0.9522 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.003521, allocations: 384 / 0.9522 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.003529, allocations: 8.125 kB / 0.9522 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.213e-05/0.003591, allocations: 39.92 kB / 0.9523 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.003993, allocations: 387.9 kB / 0.9527 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.844e-05/0.004041, allocations: 41.19 kB / 0.9527 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.004069, allocations: 17.83 kB / 0.9527 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.004076, allocations: 8 kB / 0.9527 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.004095, allocations: 30.56 kB / 0.9527 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.004096, allocations: 0 / 0.9527 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001374/0.004234, allocations: 53.81 kB / 0.9528 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.004267, allocations: 85.08 kB / 0.9529 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.004379, allocations: 161 kB / 0.953 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.004387, allocations: 25.7 kB / 0.9531 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.004437, allocations: 104 kB / 0.9532 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.631e-06/0.004443, allocations: 3.938 kB / 0.9532 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.004467, allocations: 21.67 kB / 0.9532 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.139e-05/0.004538, allocations: 322.8 kB / 0.9535 GB, free: 200 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.004551, allocations: 4 kB / 0.9535 GB, free: 196 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.962e-05/0.00457, allocations: 25.64 kB / 0.9535 GB, free: 164 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.004603, allocations: 29.72 kB / 0.9535 GB, free: 128 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.004605, allocations: 4 kB / 0.9535 GB, free: 124 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.045e-05/0.004665, allocations: 61.58 kB / 0.9536 GB, free: 56 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.004678, allocations: 4 kB / 0.9536 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.004683, allocations: 0 / 0.9536 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.004695, allocations: 4 kB / 0.9536 GB, free: 48 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.247e-05/0.004747, allocations: 7.938 kB / 0.9536 GB, free: 40 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.004752, allocations: 0 / 0.9536 GB, free: 40 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.00477, allocations: 4 kB / 0.9536 GB, free: 36 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.004775, allocations: 64 / 0.9536 GB, free: 36 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.964e-05/0.004844, allocations: 121.8 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.004868, allocations: 15.84 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.004889, allocations: 15.8 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.004891, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.004896, allocations: 3.938 kB / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.004899, allocations: 4.078 kB / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.005151, allocations: 433.9 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.005153, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.005167, allocations: 7.938 kB / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.005169, allocations: 4.062 kB / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.005175, allocations: 0 / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.005176, allocations: 3.938 kB / 0.9542 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005177, allocations: 0 / 0.9542 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.153e-05/0.005229, allocations: 77.94 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.005249, allocations: 15.89 kB / 0.9543 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.005261, allocations: 3.984 kB / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-06/0.00527, allocations: 0 / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.005282, allocations: 4 kB / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.005284, allocations: 0 / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.524e-05/0.005339, allocations: 123.3 kB / 0.9544 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00534, allocations: 0 / 0.9544 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001265/0.005466, allocations: 15.94 kB / 0.9544 GB, free: 15.11 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.000238/0.005704, allocations: 0.6093 MB / 0.955 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.005811, allocations: 19.94 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.005813, allocations: 0 / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.891e-06/0.005819, allocations: 4 kB / 0.9551 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.0001221/0.005941, allocations: 8.281 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008846/0.006826, allocations: 1.348 MB / 0.9564 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.761e-05/0.006873, allocations: 75.33 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.006906, allocations: 8.484 kB / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.00695, allocations: 20.5 kB / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of SimCode: time 8.21e-07/0.006951, allocations: 0 / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.02257, allocations: 2.237 MB / 0.9587 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.544/6.567, allocations: 11.58 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_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.749373679049313]