Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001664/0.001664, allocations: 80.83 kB / 19.18 MB, free: 2.527 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.002061/0.002061, allocations: 166.4 kB / 22.46 MB, free: 5.355 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.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.854/2.854, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.726e-05/3.93e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002222/0.002261, allocations: 0.7946 MB / 0.9822 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000134/0.002395, allocations: 43.78 kB / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.002459, allocations: 0 / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.463e-05/0.002504, allocations: 7.875 kB / 0.9823 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.504e-05/0.002599, allocations: 7.938 kB / 0.9823 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.87e-05/0.002657, allocations: 23.97 kB / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.002789, allocations: 59.78 kB / 0.9824 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.002945, allocations: 35.91 kB / 0.9824 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.003061, allocations: 39.84 kB / 0.9824 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.003136, allocations: 19.91 kB / 0.9824 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.003161, allocations: 12 kB / 0.9825 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.003173, allocations: 4 kB / 0.9825 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.003199, allocations: 15.92 kB / 0.9825 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.003235, allocations: 15.94 kB / 0.9825 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.003394, allocations: 79.67 kB / 0.9826 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003396, allocations: 0 / 0.9826 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003397, allocations: 0 / 0.9826 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.003402, allocations: 4 kB / 0.9826 GB, free: 10.79 MB / 0.9356 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.0005254/0.003927, allocations: 305.9 kB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.003974, allocations: 12.03 kB / 0.9829 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.004021, allocations: 20.83 kB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.00424, allocations: 125.7 kB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.004255, allocations: 8.375 kB / 0.983 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.004274, allocations: 8.375 kB / 0.983 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.004473, allocations: 91.89 kB / 0.9831 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.004483, allocations: 192 / 0.9831 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.004495, allocations: 384 / 0.9831 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.004503, allocations: 4.375 kB / 0.9831 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.864e-05/0.004592, allocations: 43.86 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.005157, allocations: 352.5 kB / 0.9835 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.183e-05/0.005229, allocations: 37.25 kB / 0.9835 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.418e-05/0.005273, allocations: 25.77 kB / 0.9836 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.005284, allocations: 4 kB / 0.9836 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.005319, allocations: 34.56 kB / 0.9836 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.00532, allocations: 0 / 0.9836 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001824/0.005502, allocations: 49.59 kB / 0.9836 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.005567, allocations: 81.11 kB / 0.9837 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.00571, allocations: 136.1 kB / 0.9839 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.00573, allocations: 33.7 kB / 0.9839 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.005809, allocations: 107.9 kB / 0.984 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.00582, allocations: 7.984 kB / 0.984 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.005859, allocations: 21.66 kB / 0.984 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.006005, allocations: 314.8 kB / 0.9843 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.00602, allocations: 4 kB / 0.9843 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.585e-05/0.006056, allocations: 25.7 kB / 0.9843 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.647e-05/0.006103, allocations: 25.66 kB / 0.9844 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.006104, allocations: 0 / 0.9844 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.702e-05/0.006191, allocations: 57.64 kB / 0.9844 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.006206, allocations: 7.938 kB / 0.9844 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.006216, allocations: 7.984 kB / 0.9844 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.006233, allocations: 0 / 0.9844 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.006297, allocations: 7.938 kB / 0.9844 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.006309, allocations: 3.938 kB / 0.9845 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.00634, allocations: 11.89 kB / 0.9845 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.006344, allocations: 0 / 0.9845 GB, free: 8.641 MB / 0.9356 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.0001439/0.006488, allocations: 113.8 kB / 0.9846 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.006531, allocations: 8.062 kB / 0.9846 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.006556, allocations: 11.45 kB / 0.9846 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.006558, allocations: 0 / 0.9846 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.006563, allocations: 4 kB / 0.9846 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.006568, allocations: 3.938 kB / 0.9846 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.007022, allocations: 410.5 kB / 0.985 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007023, allocations: 0 / 0.985 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.007045, allocations: 7.984 kB / 0.985 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007046, allocations: 0 / 0.985 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.007056, allocations: 3.938 kB / 0.985 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.007057, allocations: 4.062 kB / 0.985 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.007058, allocations: 0 / 0.985 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.523e-05/0.007153, allocations: 73.94 kB / 0.9851 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.007174, allocations: 7.938 kB / 0.9851 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.007191, allocations: 7.938 kB / 0.9851 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.706e-05/0.007208, allocations: 0 / 0.9851 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.007219, allocations: 0 / 0.9851 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.007221, allocations: 0 / 0.9851 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.258e-05/0.007304, allocations: 106.3 kB / 0.9852 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.007304, allocations: 0 / 0.9852 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001862/0.00749, allocations: 11.98 kB / 0.9852 GB, free: 7.812 MB / 0.9356 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.0001131/0.007603, allocations: 99.77 kB / 0.9853 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.472e-05/0.007688, allocations: 19.94 kB / 0.9853 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.00769, allocations: 0 / 0.9853 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/0.007702, allocations: 8 kB / 0.9853 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.007857, allocations: 96 / 0.9853 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.008307, allocations: 174.5 kB / 0.9855 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.483e-05/0.008392, allocations: 79.58 kB / 0.9856 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.073e-05/0.008422, allocations: 7.984 kB / 0.9856 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.008454, allocations: 12.5 kB / 0.9856 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.008455, allocations: 0 / 0.9856 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of Templates: time 0.00304/0.01149, allocations: 348.2 kB / 0.9859 GB, free: 7.012 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.173655733466148]