Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001255/0.001255, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001359/0.001359, allocations: 173 kB / 24.06 MB, free: 452 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.9747/0.9747, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.127/2.127, allocations: 429.5 MB / 0.6743 GB, free: 3.922 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.204e-05, allocations: 4.703 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.0024/0.002432, allocations: 0.8269 MB / 0.8802 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001659/0.002598, allocations: 40.81 kB / 0.8803 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.002661, allocations: 0 / 0.8803 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.309e-05/0.002704, allocations: 9 kB / 0.8803 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.433e-05/0.002799, allocations: 7.938 kB / 0.8803 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.004e-05/0.002859, allocations: 19.97 kB / 0.8803 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.002992, allocations: 64.91 kB / 0.8803 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.003147, allocations: 31.97 kB / 0.8804 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.003276, allocations: 40.88 kB / 0.8804 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.00333, allocations: 15.91 kB / 0.8804 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.003348, allocations: 8 kB / 0.8804 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.003357, allocations: 4.781 kB / 0.8804 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.003381, allocations: 15.92 kB / 0.8805 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.003412, allocations: 17.56 kB / 0.8805 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.003524, allocations: 39.83 kB / 0.8805 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.003527, allocations: 0 / 0.8805 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003528, allocations: 0 / 0.8805 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.003532, allocations: 0 / 0.8805 GB, free: 4.914 MB / 0.8386 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.0004306/0.003963, allocations: 413.3 kB / 0.8809 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.004004, allocations: 8.031 kB / 0.8809 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.004046, allocations: 25.91 kB / 0.8809 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.004217, allocations: 136.4 kB / 0.8811 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.004231, allocations: 4.375 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.004246, allocations: 9.031 kB / 0.8811 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.004384, allocations: 85.53 kB / 0.8812 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.004393, allocations: 0.75 kB / 0.8812 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.004404, allocations: 5.969 kB / 0.8812 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.00441, allocations: 384 / 0.8812 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.588e-05/0.004456, allocations: 23.92 kB / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000589/0.005045, allocations: 0.7223 MB / 0.8819 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.005163, allocations: 276.7 kB / 0.8822 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.005206, allocations: 126.9 kB / 0.8823 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.005241, allocations: 119.2 kB / 0.8824 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/0.0053, allocations: 156.6 kB / 0.8825 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.005301, allocations: 0 / 0.8825 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.953e-05/0.005371, allocations: 33.66 kB / 0.8826 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.005443, allocations: 174.5 kB / 0.8827 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.005591, allocations: 209.5 kB / 0.8829 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.005602, allocations: 27.11 kB / 0.883 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.685e-05/0.005699, allocations: 174.5 kB / 0.8831 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-06/0.005703, allocations: 4 kB / 0.8831 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.005742, allocations: 23.86 kB / 0.8832 GB, free: 2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.005908, allocations: 0.4962 MB / 0.8837 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.00592, allocations: 5.594 kB / 0.8837 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.00598, allocations: 77.47 kB / 0.8837 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.211e-05/0.006072, allocations: 90.91 kB / 0.8838 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.006075, allocations: 0 / 0.8838 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001468/0.006222, allocations: 73.5 kB / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.006241, allocations: 14.48 kB / 0.8839 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.006248, allocations: 0 / 0.8839 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.006261, allocations: 4 kB / 0.8839 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.446e-05/0.006325, allocations: 12.25 kB / 0.8839 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.006329, allocations: 4 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.006376, allocations: 15.89 kB / 0.8839 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.006383, allocations: 15.88 kB / 0.8839 GB, free: 1.117 MB / 0.8386 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 0.0001211/0.006504, allocations: 279.7 kB / 0.8842 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/0.006581, allocations: 156.8 kB / 0.8844 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.006648, allocations: 164.6 kB / 0.8845 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.718e-05/0.006725, allocations: 268.1 kB / 0.8848 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.483e-05/0.00682, allocations: 268 kB / 0.885 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.451e-05/0.006904, allocations: 280 kB / 0.8853 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.007143, allocations: 488.5 kB / 0.8858 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.667e-05/0.007189, allocations: 156.8 kB / 0.8859 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.007234, allocations: 148.9 kB / 0.8861 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.813e-05/0.007312, allocations: 268 kB / 0.8863 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.598e-05/0.007388, allocations: 264.1 kB / 0.8866 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-05/0.007471, allocations: 272.1 kB / 0.8868 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-05/0.007548, allocations: 268 kB / 0.8871 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.007729, allocations: 451.9 kB / 0.8875 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.007789, allocations: 160.8 kB / 0.8877 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.007901, allocations: 264.1 kB / 0.8879 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.00798, allocations: 148.8 kB / 0.8881 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.008058, allocations: 272.4 kB / 0.8883 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.008101, allocations: 148.8 kB / 0.8885 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.978e-05/0.00817, allocations: 147.1 kB / 0.8886 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.008171, allocations: 0 / 0.8886 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002811/0.008452, allocations: 8 kB / 0.8886 GB, free: 12.15 MB / 0.8542 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 0.000204/0.008656, allocations: 210.4 kB / 0.8888 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.028e-05/0.008746, allocations: 35.58 kB / 0.8888 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.008748, allocations: 4.5 kB / 0.8888 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.00875, allocations: 4 kB / 0.8889 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.009158, allocations: 0.7101 MB / 0.8895 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.009462, allocations: 273.6 kB / 0.8898 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.351e-05/0.009506, allocations: 59.34 kB / 0.8899 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.458e-05/0.00955, allocations: 8.719 kB / 0.8899 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.009595, allocations: 74.2 kB / 0.8899 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of SimCode: time 8.81e-07/0.009595, allocations: 0 / 0.8899 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of Templates: time 0.002306/0.0119, allocations: 335.5 kB / 0.8903 GB, free: 10.38 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.366214360110462]