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.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.001657/0.001657, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002093/0.002093, allocations: 186 kB / 20.78 MB, free: 1.547 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.587/1.587, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.911/2.911, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: 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: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 59.91 kB / 1.107 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.209, allocations: 168.7 MB / 1.272 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002381/1.211, allocations: 0.8424 MB / 1.273 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001086/1.211, allocations: 41.02 kB / 1.273 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/1.211, allocations: 1.5 kB / 1.273 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/1.211, allocations: 9.375 kB / 1.273 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.841e-05/1.211, allocations: 14.02 kB / 1.273 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.226e-05/1.211, allocations: 20 kB / 1.273 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/1.211, allocations: 59.69 kB / 1.273 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/1.212, allocations: 31.52 kB / 1.273 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.006e-05/1.212, allocations: 30.11 kB / 1.273 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/1.212, allocations: 26.41 kB / 1.273 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/1.212, allocations: 6.031 kB / 1.273 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.546e-05/1.212, allocations: 6.531 kB / 1.273 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/1.212, allocations: 19.53 kB / 1.273 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/1.212, allocations: 37.56 kB / 1.273 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/1.212, allocations: 69.56 kB / 1.273 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.212, allocations: 3.938 kB / 1.273 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.477e-06/1.212, allocations: 0.75 kB / 1.273 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.552e-06/1.212, allocations: 0 / 1.273 GB, free: 7.168 MB / 0.9981 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.0004665/1.212, allocations: 387.3 kB / 1.274 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/1.213, allocations: 8.875 kB / 1.274 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/1.213, allocations: 17.7 kB / 1.274 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/1.213, allocations: 192.3 kB / 1.274 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/1.213, allocations: 3.281 kB / 1.274 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/1.213, allocations: 10.27 kB / 1.274 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/1.213, allocations: 92.75 kB / 1.274 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.213, allocations: 8.125 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/1.213, allocations: 4.906 kB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.213, allocations: 2.031 kB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.572e-05/1.213, allocations: 36.39 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/1.214, allocations: 434.5 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.586e-05/1.214, allocations: 50.52 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/1.214, allocations: 14.81 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/1.214, allocations: 0.7812 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/1.214, allocations: 41.27 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/1.214, allocations: 1 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000185/1.214, allocations: 55.41 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/1.214, allocations: 83.52 kB / 1.275 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/1.214, allocations: 157.8 kB / 1.275 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.742e-06/1.214, allocations: 25.7 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/1.214, allocations: 107.6 kB / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.728e-06/1.214, allocations: 9.016 kB / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/1.214, allocations: 17.56 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.363e-05/1.214, allocations: 322.3 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/1.214, allocations: 3.594 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/1.214, allocations: 22.19 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/1.214, allocations: 22.5 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.214, allocations: 0 / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.563e-05/1.214, allocations: 67.22 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/1.215, allocations: 9.781 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/1.215, allocations: 3.938 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.215, allocations: 0.9375 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/1.215, allocations: 5.438 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.215, allocations: 0.9062 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/1.215, allocations: 9.969 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/1.215, allocations: 5.734 kB / 1.275 GB, free: 5.078 MB / 0.9981 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.296e-05/1.215, allocations: 113.9 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/1.215, allocations: 13.05 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/1.215, allocations: 20.56 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.215, allocations: 1.469 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.215, allocations: 1.031 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.215, allocations: 3.938 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/1.215, allocations: 468.7 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/1.215, allocations: 0.7188 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/1.215, allocations: 3.375 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.215, allocations: 9.047 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/1.215, allocations: 4 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.215, allocations: 0.9062 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.215, allocations: 1.031 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.365e-05/1.215, allocations: 84.53 kB / 1.276 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/1.215, allocations: 87.61 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/1.215, allocations: 1.125 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/1.215, allocations: 5.031 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/1.215, allocations: 5.812 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/1.215, allocations: 0.8438 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.906e-05/1.215, allocations: 120.2 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/1.215, allocations: 0.7812 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001891/1.216, allocations: 7.062 kB / 1.276 GB, free: 4.156 MB / 0.9981 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.0001225/1.216, allocations: 97.81 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001138/1.216, allocations: 24.39 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.216, allocations: 0 / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/1.216, allocations: 4.188 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/1.216, allocations: 11.5 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/1.216, allocations: 170.6 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/1.216, allocations: 0.7014 MB / 1.277 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.178e-05/1.217, allocations: 7.078 kB / 1.277 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/1.217, allocations: 11.56 kB / 1.277 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/1.217, allocations: 0 / 1.277 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of Templates: time 0.003213/1.22, allocations: 474.3 kB / 1.278 GB, free: 3.102 MB / 0.9981 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.866181716322899]