Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.002488/0.002488, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.00284/0.00284, allocations: 157.3 kB / 23.55 MB, free: 0.8672 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 1.589/1.589, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.927/2.927, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.596e-05/3.84e-05, allocations: 6.391 kB / 0.7864 GB, free: 11.67 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002278/0.002316, allocations: 0.8009 MB / 0.7872 GB, free: 10.88 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001223/0.002438, allocations: 39.78 kB / 0.7872 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.002491, allocations: 4.812 kB / 0.7872 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.002527, allocations: 11.81 kB / 0.7872 GB, free: 10.83 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.161e-05/0.002619, allocations: 12.89 kB / 0.7872 GB, free: 10.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.947e-05/0.002669, allocations: 15.98 kB / 0.7873 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.00279, allocations: 60.41 kB / 0.7873 GB, free: 10.74 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.002916, allocations: 31.95 kB / 0.7873 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.003018, allocations: 40.69 kB / 0.7874 GB, free: 10.67 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.003063, allocations: 19.91 kB / 0.7874 GB, free: 10.65 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.003086, allocations: 13.56 kB / 0.7874 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.003096, allocations: 4 kB / 0.7874 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.003119, allocations: 15.92 kB / 0.7874 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.003157, allocations: 23.92 kB / 0.7875 GB, free: 10.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.003292, allocations: 68.92 kB / 0.7875 GB, free: 10.53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.003297, allocations: 4 kB / 0.7875 GB, free: 10.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003298, allocations: 0 / 0.7875 GB, free: 10.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.003301, allocations: 0.9062 kB / 0.7875 GB, free: 10.53 MB / 0.698 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.0005361/0.003837, allocations: 411.9 kB / 0.7879 GB, free: 10.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.003875, allocations: 8.875 kB / 0.7879 GB, free: 10.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.003925, allocations: 16.84 kB / 0.7879 GB, free: 10.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.004137, allocations: 141 kB / 0.7881 GB, free: 9.898 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.004154, allocations: 8.312 kB / 0.7881 GB, free: 9.891 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.00417, allocations: 9.531 kB / 0.7881 GB, free: 9.883 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.004345, allocations: 99.23 kB / 0.7882 GB, free: 9.773 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.004355, allocations: 192 / 0.7882 GB, free: 9.773 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.00437, allocations: 8.922 kB / 0.7882 GB, free: 9.766 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.004375, allocations: 5.062 kB / 0.7882 GB, free: 9.762 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.38e-05/0.004469, allocations: 39.86 kB / 0.7882 GB, free: 9.723 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006431/0.005112, allocations: 471.2 kB / 0.7887 GB, free: 9.223 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.005235, allocations: 62.91 kB / 0.7887 GB, free: 9.137 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.005284, allocations: 25.16 kB / 0.7888 GB, free: 9.105 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.005296, allocations: 0 / 0.7888 GB, free: 9.105 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.005329, allocations: 37.39 kB / 0.7888 GB, free: 9.059 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.00533, allocations: 0 / 0.7888 GB, free: 9.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001937/0.005524, allocations: 59.17 kB / 0.7889 GB, free: 8.996 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.005593, allocations: 81.05 kB / 0.7889 GB, free: 8.898 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.005809, allocations: 193.8 kB / 0.7891 GB, free: 8.691 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.005832, allocations: 33.14 kB / 0.7892 GB, free: 8.656 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.005951, allocations: 158.7 kB / 0.7893 GB, free: 8.496 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.651e-06/0.005956, allocations: 0 / 0.7893 GB, free: 8.496 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.006006, allocations: 27.33 kB / 0.7893 GB, free: 8.461 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002817/0.006288, allocations: 0.4884 MB / 0.7898 GB, free: 7.961 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.006308, allocations: 7.984 kB / 0.7898 GB, free: 7.953 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.006341, allocations: 23.38 kB / 0.7898 GB, free: 7.922 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.615e-05/0.006397, allocations: 31.97 kB / 0.7899 GB, free: 7.883 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006399, allocations: 0 / 0.7899 GB, free: 7.883 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.834e-05/0.006497, allocations: 62.22 kB / 0.7899 GB, free: 7.816 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.00651, allocations: 5.219 kB / 0.7899 GB, free: 7.812 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.006514, allocations: 0 / 0.7899 GB, free: 7.812 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.00653, allocations: 4 kB / 0.7899 GB, free: 7.809 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/0.006591, allocations: 4.625 kB / 0.7899 GB, free: 7.805 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.006598, allocations: 5.062 kB / 0.79 GB, free: 7.801 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.006629, allocations: 7.953 kB / 0.79 GB, free: 7.793 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.006632, allocations: 3.938 kB / 0.79 GB, free: 7.789 MB / 0.698 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.0001245/0.006757, allocations: 165.5 kB / 0.7901 GB, free: 7.617 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.006796, allocations: 4 kB / 0.7901 GB, free: 7.613 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.00682, allocations: 8.031 kB / 0.7901 GB, free: 7.609 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006822, allocations: 3.938 kB / 0.7901 GB, free: 7.605 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.006825, allocations: 5.125 kB / 0.7901 GB, free: 7.602 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.00683, allocations: 3.938 kB / 0.7901 GB, free: 7.598 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.00738, allocations: 0.5623 MB / 0.7907 GB, free: 6.984 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.007381, allocations: 96 / 0.7907 GB, free: 6.984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.007402, allocations: 5.156 kB / 0.7907 GB, free: 6.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.007406, allocations: 3.984 kB / 0.7907 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.007415, allocations: 3.938 kB / 0.7907 GB, free: 6.973 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007417, allocations: 1.469 kB / 0.7907 GB, free: 6.973 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.007422, allocations: 3.984 kB / 0.7907 GB, free: 6.969 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.007541, allocations: 92.06 kB / 0.7908 GB, free: 6.852 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.007568, allocations: 8.453 kB / 0.7908 GB, free: 6.844 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.007582, allocations: 4.469 kB / 0.7908 GB, free: 6.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.742e-05/0.007599, allocations: 0 / 0.7908 GB, free: 6.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.007623, allocations: 8.547 kB / 0.7908 GB, free: 6.832 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.007628, allocations: 5.375 kB / 0.7908 GB, free: 6.828 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001072/0.007735, allocations: 142.3 kB / 0.791 GB, free: 6.691 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.007735, allocations: 0 / 0.791 GB, free: 6.691 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001962/0.007931, allocations: 15.95 kB / 0.791 GB, free: 6.676 MB / 0.698 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.0001252/0.008056, allocations: 97.84 kB / 0.7911 GB, free: 6.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.994e-05/0.008156, allocations: 27.61 kB / 0.7911 GB, free: 6.539 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008158, allocations: 4 kB / 0.7911 GB, free: 6.535 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.106e-05/0.008179, allocations: 11.69 kB / 0.7911 GB, free: 6.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.008341, allocations: 4.625 kB / 0.7911 GB, free: 6.516 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.008697, allocations: 167.4 kB / 0.7913 GB, free: 6.312 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.866e-05/0.008786, allocations: 87.23 kB / 0.7914 GB, free: 6.211 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.008817, allocations: 4 kB / 0.7914 GB, free: 6.207 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.008846, allocations: 13.53 kB / 0.7914 GB, free: 6.195 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.008846, allocations: 0 / 0.7914 GB, free: 6.195 MB / 0.698 GB Notification: Performance of Templates: time 0.003127/0.01197, allocations: 340.4 kB / 0.7917 GB, free: 5.879 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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: 7.944193655974232]