Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.00134/0.00134, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001677/0.001677, allocations: 193.7 kB / 22.17 MB, free: 5.652 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.481/1.481, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.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.703/2.703, allocations: 443.5 MB / 0.732 GB, free: 12.55 MB / 0.5919 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 67.89 kB / 1.061 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.927/0.9292, allocations: 160.7 MB / 1.218 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002515/0.9317, allocations: 0.8418 MB / 1.219 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001338/0.9319, allocations: 41.55 kB / 1.219 GB, free: 3.406 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.9319, allocations: 1.219 kB / 1.219 GB, free: 3.406 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.999e-05/0.932, allocations: 11.88 kB / 1.219 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.9321, allocations: 17.08 kB / 1.219 GB, free: 3.379 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.267e-05/0.9321, allocations: 19.31 kB / 1.219 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.9323, allocations: 59.47 kB / 1.219 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.9324, allocations: 34.41 kB / 1.219 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.43e-05/0.9325, allocations: 31.61 kB / 1.219 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.9326, allocations: 24.48 kB / 1.219 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.9326, allocations: 6.094 kB / 1.219 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.9326, allocations: 6.5 kB / 1.219 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.9327, allocations: 14.27 kB / 1.219 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.9327, allocations: 38.02 kB / 1.219 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.9329, allocations: 80.31 kB / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9329, allocations: 0 / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9329, allocations: 5.219 kB / 1.219 GB, free: 3.152 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.984e-06/0.9329, allocations: 0 / 1.219 GB, free: 3.152 MB / 0.92 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.0005419/0.9334, allocations: 377.9 kB / 1.22 GB, free: 2.754 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.9335, allocations: 9.812 kB / 1.22 GB, free: 2.754 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.9335, allocations: 13.81 kB / 1.22 GB, free: 2.746 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.9338, allocations: 194.3 kB / 1.22 GB, free: 2.527 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.9338, allocations: 12.16 kB / 1.22 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.9338, allocations: 5.625 kB / 1.22 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.934, allocations: 95.55 kB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.934, allocations: 192 / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.934, allocations: 9.062 kB / 1.22 GB, free: 2.434 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.934, allocations: 2.75 kB / 1.22 GB, free: 2.434 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.801e-05/0.9341, allocations: 34.95 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.9349, allocations: 436.5 kB / 1.221 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.173e-05/0.9349, allocations: 44.69 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.935, allocations: 19.41 kB / 1.221 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.935, allocations: 1.125 kB / 1.221 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.935, allocations: 35.72 kB / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.935, allocations: 0 / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002256/0.9352, allocations: 58.95 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.9353, allocations: 78.3 kB / 1.221 GB, free: 1.715 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.9355, allocations: 159.2 kB / 1.221 GB, free: 1.586 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.9355, allocations: 26.89 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.9356, allocations: 108.5 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.9356, allocations: 13.05 kB / 1.221 GB, free: 1.438 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.9357, allocations: 13.12 kB / 1.221 GB, free: 1.422 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.9359, allocations: 321.9 kB / 1.221 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.9359, allocations: 6.75 kB / 1.221 GB, free: 1.098 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.609e-05/0.9359, allocations: 14.84 kB / 1.221 GB, free: 1.082 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.602e-05/0.936, allocations: 33.78 kB / 1.221 GB, free: 1.051 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.936, allocations: 1.094 kB / 1.221 GB, free: 1.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001084/0.9361, allocations: 63.19 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.9361, allocations: 8.344 kB / 1.222 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.9361, allocations: 5.031 kB / 1.222 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.9361, allocations: 1.125 kB / 1.222 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.9362, allocations: 5.469 kB / 1.222 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.9362, allocations: 1.125 kB / 1.222 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.762e-05/0.9362, allocations: 6.219 kB / 1.222 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.9363, allocations: 5 kB / 1.222 GB, free: 0.9844 MB / 0.92 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.0001056/0.9364, allocations: 116.9 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.9364, allocations: 8.172 kB / 1.222 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.9364, allocations: 14.88 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.9364, allocations: 5.094 kB / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.9365, allocations: 1.188 kB / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.9365, allocations: 3.984 kB / 1.222 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.9369, allocations: 478.6 kB / 1.222 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.9369, allocations: 0.9375 kB / 1.222 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.937, allocations: 7.578 kB / 1.222 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.937, allocations: 0 / 1.222 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.937, allocations: 1.344 kB / 1.222 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.937, allocations: 0 / 1.222 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.937, allocations: 0.9375 kB / 1.222 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.9371, allocations: 82.17 kB / 1.222 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.699e-05/0.9372, allocations: 92.64 kB / 1.222 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.9372, allocations: 0.9688 kB / 1.222 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.113e-05/0.9372, allocations: 0.9062 kB / 1.222 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.9372, allocations: 1.094 kB / 1.222 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-06/0.9372, allocations: 1.062 kB / 1.222 GB, free: 136 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001106/0.9373, allocations: 121.9 kB / 1.222 GB, free: 40 kB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/0.9373, allocations: 32 / 1.222 GB, free: 40 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.000188/0.9375, allocations: 10.72 kB / 1.222 GB, free: 36 kB / 0.92 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.0001578/0.9377, allocations: 101.4 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.9378, allocations: 17 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9378, allocations: 1.312 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.325e-05/0.9378, allocations: 7.625 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.938, allocations: 18.53 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.9384, allocations: 177.6 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.9388, allocations: 0.6949 MB / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.9388, allocations: 12.39 kB / 1.223 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.9388, allocations: 11.88 kB / 1.223 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of SimCode: time 4.5e-07/0.9388, allocations: 0 / 1.223 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of Templates: time 0.003198/0.942, allocations: 466.8 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.89071061881259]