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.001014/0.001014, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001049/0.001049, allocations: 181 kB / 24.09 MB, free: 420 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 0.9474/0.9474, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.783/1.783, allocations: 359 MB / 0.6055 GB, free: 10.86 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.593e-06/1.593e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.733e-05, allocations: 4.219 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001322/0.00134, allocations: 0.8082 MB / 0.7884 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001169/0.001457, allocations: 40.34 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.001508, allocations: 4 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.001543, allocations: 8.812 kB / 0.7884 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.961e-05/0.001623, allocations: 7.922 kB / 0.7884 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.819e-05/0.001661, allocations: 21.11 kB / 0.7884 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.394e-05/0.001755, allocations: 63.77 kB / 0.7885 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.001864, allocations: 31.98 kB / 0.7885 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.00196, allocations: 48.48 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.037e-05/0.002001, allocations: 11.92 kB / 0.7886 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.002017, allocations: 5.406 kB / 0.7886 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-06/0.002024, allocations: 4 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.002046, allocations: 15.92 kB / 0.7886 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.002073, allocations: 23.92 kB / 0.7886 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.475e-05/0.002158, allocations: 37.36 kB / 0.7887 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.00216, allocations: 0 / 0.7887 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.00216, allocations: 0 / 0.7887 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.002164, allocations: 3.938 kB / 0.7887 GB, free: 11.07 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.0004352/0.002599, allocations: 415.5 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.00264, allocations: 12.03 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.002675, allocations: 20.83 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.002798, allocations: 132.5 kB / 0.7892 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.002808, allocations: 4.375 kB / 0.7892 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.002817, allocations: 8.375 kB / 0.7892 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.002917, allocations: 85.53 kB / 0.7893 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.002923, allocations: 192 / 0.7893 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.00293, allocations: 1.281 kB / 0.7893 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.002935, allocations: 384 / 0.7893 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.032e-05/0.002965, allocations: 31.91 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.00338, allocations: 0.7204 MB / 0.7901 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.275e-05/0.003463, allocations: 269.6 kB / 0.7903 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.003496, allocations: 126.9 kB / 0.7904 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.003523, allocations: 119.2 kB / 0.7905 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.003574, allocations: 161.2 kB / 0.7907 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.003575, allocations: 0 / 0.7907 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.312e-05/0.003628, allocations: 34.66 kB / 0.7907 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.003679, allocations: 174.5 kB / 0.7909 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.003782, allocations: 200.4 kB / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.613e-06/0.003789, allocations: 25.7 kB / 0.7911 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.003858, allocations: 179.1 kB / 0.7913 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.003861, allocations: 4 kB / 0.7913 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.003892, allocations: 36.62 kB / 0.7913 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.004008, allocations: 492.1 kB / 0.7918 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.004017, allocations: 11.98 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.004056, allocations: 74.95 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.366e-05/0.00412, allocations: 90.89 kB / 0.792 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.004122, allocations: 0.5 kB / 0.792 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001029/0.004225, allocations: 87.44 kB / 0.792 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.004237, allocations: 4.562 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.004243, allocations: 4 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.004253, allocations: 5.969 kB / 0.7921 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.534e-05/0.004298, allocations: 16 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.004302, allocations: 4 kB / 0.7921 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.004325, allocations: 11.92 kB / 0.7921 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.00433, allocations: 7.938 kB / 0.7921 GB, free: 7.277 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 9.26e-05/0.004422, allocations: 276.2 kB / 0.7924 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.004469, allocations: 153.6 kB / 0.7925 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.394e-05/0.004523, allocations: 160.6 kB / 0.7927 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.588e-05/0.004589, allocations: 268.6 kB / 0.7929 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-05/0.00465, allocations: 273.1 kB / 0.7932 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.89e-05/0.004709, allocations: 272 kB / 0.7934 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.004876, allocations: 496.5 kB / 0.7939 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.214e-05/0.004909, allocations: 149.7 kB / 0.7941 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.00494, allocations: 144.9 kB / 0.7942 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.707e-05/0.004997, allocations: 268.9 kB / 0.7944 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.109e-05/0.005058, allocations: 272.1 kB / 0.7947 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.806e-05/0.005116, allocations: 264.2 kB / 0.795 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.815e-05/0.005174, allocations: 270.2 kB / 0.7952 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.005312, allocations: 459.8 kB / 0.7957 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.005367, allocations: 156.8 kB / 0.7958 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.005565, allocations: 268.1 kB / 0.7961 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.769e-05/0.005622, allocations: 152.8 kB / 0.7962 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.005688, allocations: 267 kB / 0.7965 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/0.005728, allocations: 156.8 kB / 0.7966 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.005777, allocations: 140.2 kB / 0.7967 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005777, allocations: 0 / 0.7967 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001417/0.005919, allocations: 7.953 kB / 0.7968 GB, free: 2.328 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 9.283e-05/0.006011, allocations: 214.4 kB / 0.797 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.844e-05/0.00608, allocations: 45.17 kB / 0.797 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.006082, allocations: 0 / 0.797 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.006083, allocations: 1.125 kB / 0.797 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.00639, allocations: 0.7098 MB / 0.7977 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.006622, allocations: 284.7 kB / 0.798 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.225e-05/0.006654, allocations: 63.34 kB / 0.798 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.346e-05/0.006687, allocations: 6.344 kB / 0.798 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.006721, allocations: 74.98 kB / 0.7981 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.006721, allocations: 4.5 kB / 0.7981 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of Templates: time 0.001655/0.008376, allocations: 334.9 kB / 0.7984 GB, free: 0.5625 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: 4.884508145973086]