Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001041/0.001041, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00099/0.00099, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.015/1.015, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.792/1.792, allocations: 359 MB / 0.6055 GB, free: 10.97 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.438e-05, allocations: 9.344 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001228/0.001243, allocations: 0.8099 MB / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 8.721e-05/0.00133, allocations: 39.78 kB / 0.7879 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.013e-05/0.00137, allocations: 0.5625 kB / 0.7879 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.001394, allocations: 16.95 kB / 0.788 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.276e-05/0.001447, allocations: 15.92 kB / 0.788 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.401e-05/0.001481, allocations: 15.98 kB / 0.788 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.001558, allocations: 60.34 kB / 0.788 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.142e-05/0.001649, allocations: 35.97 kB / 0.7881 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.001705, allocations: 40.56 kB / 0.7881 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/0.001752, allocations: 20.81 kB / 0.7881 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.001771, allocations: 8 kB / 0.7881 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-06/0.001779, allocations: 4 kB / 0.7881 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.001796, allocations: 16.58 kB / 0.7882 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.001819, allocations: 19.92 kB / 0.7882 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.916e-05/0.001898, allocations: 45.48 kB / 0.7882 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.001899, allocations: 0 / 0.7882 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.0019, allocations: 0 / 0.7882 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.001905, allocations: 0 / 0.7882 GB, free: 11.65 MB / 0.7448 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.0002849/0.00219, allocations: 409.8 kB / 0.7886 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.002222, allocations: 8.031 kB / 0.7886 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.00225, allocations: 16.89 kB / 0.7886 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.00236, allocations: 138 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.002367, allocations: 4.375 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.002376, allocations: 8.375 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.084e-05/0.002467, allocations: 91.42 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-06/0.002471, allocations: 192 / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.002478, allocations: 7.781 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.002483, allocations: 4.375 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.278e-05/0.002526, allocations: 31.84 kB / 0.7889 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.002855, allocations: 458.4 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.395e-05/0.002899, allocations: 62.17 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.002923, allocations: 19.44 kB / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-06/0.002928, allocations: 0 / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.002949, allocations: 38.02 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.00295, allocations: 4.594 kB / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 9.635e-05/0.003047, allocations: 50.3 kB / 0.7895 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.003079, allocations: 78.33 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.003172, allocations: 189.8 kB / 0.7898 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.003181, allocations: 25.7 kB / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.003241, allocations: 159.3 kB / 0.7899 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.306e-06/0.003249, allocations: 11.89 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.003273, allocations: 24.5 kB / 0.79 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.003392, allocations: 492.1 kB / 0.7904 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.003404, allocations: 7.984 kB / 0.7905 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/0.003421, allocations: 24.25 kB / 0.7905 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.071e-05/0.003452, allocations: 27.91 kB / 0.7905 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.003453, allocations: 1.156 kB / 0.7905 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.817e-05/0.003511, allocations: 45.69 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.003523, allocations: 8.75 kB / 0.7906 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.003526, allocations: 0 / 0.7906 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.003534, allocations: 1.188 kB / 0.7906 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.241e-05/0.003576, allocations: 7.938 kB / 0.7906 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.003582, allocations: 7.938 kB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.003597, allocations: 10.73 kB / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-06/0.003599, allocations: 0 / 0.7906 GB, free: 8.988 MB / 0.7448 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.774e-05/0.003657, allocations: 156.6 kB / 0.7907 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.003678, allocations: 7.984 kB / 0.7907 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.759e-05/0.003695, allocations: 7.469 kB / 0.7907 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.003696, allocations: 0 / 0.7907 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.003701, allocations: 4 kB / 0.7908 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.003705, allocations: 5.438 kB / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.003968, allocations: 0.5421 MB / 0.7913 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.003969, allocations: 4.031 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-06/0.003977, allocations: 4.5 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.003979, allocations: 3.984 kB / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.003986, allocations: 8.438 kB / 0.7913 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.003988, allocations: 4.562 kB / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.003989, allocations: 1.375 kB / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.571e-05/0.004044, allocations: 88.06 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.004058, allocations: 3.953 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.128e-06/0.004067, allocations: 8.562 kB / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-06/0.004074, allocations: 0 / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.004088, allocations: 9.953 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.00409, allocations: 4 kB / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.84e-05/0.004138, allocations: 139.2 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004138, allocations: 0 / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001149/0.004253, allocations: 11.89 kB / 0.7916 GB, free: 7.902 MB / 0.7448 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.315e-05/0.004317, allocations: 96.47 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.269e-05/0.004379, allocations: 20.75 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.004381, allocations: 0 / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.004392, allocations: 20.67 kB / 0.7917 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.279e-05/0.004485, allocations: 4 kB / 0.7917 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002261/0.004711, allocations: 177.1 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.046e-05/0.004741, allocations: 59.34 kB / 0.7919 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.927e-05/0.00476, allocations: 10.2 kB / 0.7919 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.00478, allocations: 8.5 kB / 0.7919 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of SimCode: time 3.8e-07/0.00478, allocations: 0 / 0.7919 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of Templates: time 0.001682/0.006462, allocations: 354.4 kB / 0.7923 GB, free: 7.117 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.185917168157175]