Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001394/0.001394, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.001549/0.001549, allocations: 215.2 kB / 22.25 MB, free: 5.117 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.863/2.863, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [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.002156/0.002156, allocations: 64.11 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4194, allocations: 169.9 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002482/0.4219, allocations: 0.804 MB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001332/0.422, allocations: 43.72 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.671e-05/0.4221, allocations: 0 / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.163e-05/0.4221, allocations: 15.86 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.356e-05/0.4222, allocations: 11.88 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.119e-05/0.4223, allocations: 15.98 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.4224, allocations: 59.84 kB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.4226, allocations: 31.97 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.591e-05/0.4226, allocations: 19.94 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.4227, allocations: 27.78 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.4227, allocations: 8 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.4227, allocations: 4 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.312e-05/0.4228, allocations: 23.86 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.4228, allocations: 27.86 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.423, allocations: 67.59 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.423, allocations: 0 / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.094e-06/0.423, allocations: 0 / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.423, allocations: 8 kB / 1.284 GB, free: 10.8 MB / 0.9825 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.0005403/0.4235, allocations: 318 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4236, allocations: 8.031 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.4236, allocations: 8.891 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.4238, allocations: 138.3 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.4239, allocations: 4.375 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.4239, allocations: 12.36 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.4241, allocations: 94.05 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4241, allocations: 192 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.4241, allocations: 11.92 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4241, allocations: 7.938 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.4242, allocations: 35.98 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.4248, allocations: 348.4 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.4249, allocations: 41.28 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.4249, allocations: 21.84 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.4249, allocations: 0 / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.425, allocations: 34.5 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.425, allocations: 3.938 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000197/0.4252, allocations: 57.58 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.4252, allocations: 85.05 kB / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.4254, allocations: 127.3 kB / 1.285 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.4254, allocations: 25.7 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.4255, allocations: 111.9 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.042e-05/0.4255, allocations: 3.953 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.4255, allocations: 17.72 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4257, allocations: 318.8 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.4257, allocations: 7.984 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.969e-05/0.4258, allocations: 17.97 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.721e-05/0.4258, allocations: 25.72 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4258, allocations: 0 / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.722e-05/0.4259, allocations: 61.58 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.426, allocations: 8 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.426, allocations: 4 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.426, allocations: 3.938 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.4261, allocations: 7.938 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4261, allocations: 4.062 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.4261, allocations: 4 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.4261, allocations: 0 / 1.286 GB, free: 8.648 MB / 0.9825 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.0001222/0.4262, allocations: 121.7 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.4263, allocations: 7.953 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.4263, allocations: 15.39 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.4263, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4263, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4263, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.4267, allocations: 414.5 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.4267, allocations: 8 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.4267, allocations: 8 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4267, allocations: 0 / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.4267, allocations: 0 / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4267, allocations: 4 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4268, allocations: 0 / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.976e-05/0.4269, allocations: 73.94 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.4269, allocations: 11.88 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.4269, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.658e-05/0.4269, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.4269, allocations: 8.031 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.4269, allocations: 4 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.037e-05/0.427, allocations: 100.4 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.427, allocations: 3.938 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000192/0.4272, allocations: 11.95 kB / 1.287 GB, free: 7.797 MB / 0.9825 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.0001661/0.4274, allocations: 95.25 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.4275, allocations: 19.94 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4275, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-05/0.4275, allocations: 8.188 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.4277, allocations: 7.938 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.4281, allocations: 158.8 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.013e-05/0.4282, allocations: 83.14 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.361e-05/0.4282, allocations: 3.984 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.4282, allocations: 11.44 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.4282, allocations: 4.062 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of Templates: time 0.003052/0.4313, allocations: 375.7 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 9.560420505702496]