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.0007608/0.0007608, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007626/0.0007626, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8428/0.8428, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.679/1.679, allocations: 359 MB / 0.6044 GB, free: 11.1 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: 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 1.583e-06/1.583e-06, allocations: 0 / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.477e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.00136/0.001385, allocations: 0.7985 MB / 0.9525 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.404e-05/0.001479, allocations: 39.78 kB / 0.9525 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.001525, allocations: 4 kB / 0.9526 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.001558, allocations: 7.875 kB / 0.9526 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.874e-05/0.001626, allocations: 11.88 kB / 0.9526 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.737e-05/0.001664, allocations: 19.98 kB / 0.9526 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.98e-05/0.001764, allocations: 67.77 kB / 0.9527 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.001878, allocations: 27.97 kB / 0.9527 GB, free: 2 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.963e-05/0.001938, allocations: 35.91 kB / 0.9527 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.001989, allocations: 19.91 kB / 0.9527 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.002015, allocations: 8 kB / 0.9527 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.483e-06/0.002021, allocations: 4 kB / 0.9527 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.002038, allocations: 15.92 kB / 0.9528 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.002064, allocations: 19.94 kB / 0.9528 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.35e-05/0.002157, allocations: 75.69 kB / 0.9529 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.002159, allocations: 0 / 0.9529 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.22e-07/0.00216, allocations: 0 / 0.9529 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.002165, allocations: 7.938 kB / 0.9529 GB, free: 1.816 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.0003229/0.002488, allocations: 305.9 kB / 0.9532 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.002521, allocations: 12.03 kB / 0.9532 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.00255, allocations: 12.84 kB / 0.9532 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.002698, allocations: 133.6 kB / 0.9533 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.00271, allocations: 8.375 kB / 0.9533 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.002721, allocations: 8.312 kB / 0.9533 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.002843, allocations: 99.89 kB / 0.9534 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.002851, allocations: 192 / 0.9534 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.002862, allocations: 4.375 kB / 0.9534 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.002867, allocations: 4.375 kB / 0.9534 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.69e-05/0.002924, allocations: 35.92 kB / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.003271, allocations: 360.4 kB / 0.9538 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.615e-05/0.003317, allocations: 33.16 kB / 0.9538 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.003346, allocations: 21.83 kB / 0.9539 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.003353, allocations: 8.031 kB / 0.9539 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.003373, allocations: 34.56 kB / 0.9539 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.003374, allocations: 0 / 0.9539 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001315/0.003506, allocations: 45.64 kB / 0.9539 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.00354, allocations: 77.11 kB / 0.954 GB, free: 488 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.688e-05/0.003627, allocations: 140.6 kB / 0.9541 GB, free: 340 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.003636, allocations: 29.7 kB / 0.9542 GB, free: 304 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.003684, allocations: 104 kB / 0.9543 GB, free: 196 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.715e-06/0.003692, allocations: 7.953 kB / 0.9543 GB, free: 188 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.003717, allocations: 21.66 kB / 0.9543 GB, free: 160 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.003796, allocations: 315.1 kB / 0.9546 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.003807, allocations: 8 kB / 0.9546 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-05/0.003825, allocations: 25.7 kB / 0.9546 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.298e-05/0.003858, allocations: 25.66 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.00386, allocations: 0 / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.203e-05/0.003912, allocations: 49.7 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.003924, allocations: 4 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.003929, allocations: 4 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.00394, allocations: 64 / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/0.003988, allocations: 15.92 kB / 0.9547 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.003993, allocations: 3.938 kB / 0.9547 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.004007, allocations: 4 kB / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.004011, allocations: 0 / 0.9547 GB, free: 15.68 MB / 0.9167 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 5.22e-05/0.004064, allocations: 113.8 kB / 0.9548 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.004084, allocations: 12.03 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.642e-05/0.004101, allocations: 11.41 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.004103, allocations: 0 / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.004108, allocations: 11.92 kB / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.004111, allocations: 3.938 kB / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.004333, allocations: 418.4 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.004334, allocations: 0 / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-06/0.004343, allocations: 7.984 kB / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.004345, allocations: 0 / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.004351, allocations: 3.938 kB / 0.9553 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.004351, allocations: 0 / 0.9553 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.004352, allocations: 0 / 0.9553 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.817e-05/0.0044, allocations: 77.89 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.004415, allocations: 7.938 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.004424, allocations: 12.03 kB / 0.9554 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-06/0.004432, allocations: 0 / 0.9554 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.004444, allocations: 0 / 0.9554 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.004446, allocations: 4 kB / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.004486, allocations: 103.3 kB / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004486, allocations: 0 / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001311/0.004617, allocations: 4 kB / 0.9555 GB, free: 14.83 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 6.422e-05/0.004681, allocations: 95.25 kB / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.174e-05/0.004753, allocations: 23.98 kB / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.004755, allocations: 4.062 kB / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.965e-06/0.004763, allocations: 8 kB / 0.9556 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001055/0.004868, allocations: 2.062 kB / 0.9556 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.005106, allocations: 204.1 kB / 0.9558 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.274e-05/0.005148, allocations: 75.33 kB / 0.9559 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.005168, allocations: 8.5 kB / 0.9559 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.005168, allocations: 128 / 0.9559 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of Templates: time 0.001395/0.006563, allocations: 0.8019 MB / 0.9567 GB, free: 13.55 MB / 0.9167 GB " [Timeout remaining time 300] 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: 6.305924150161445]