Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.001031/0.001031, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001523/0.001523, allocations: 177 kB / 23.49 MB, free: 1.055 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 0.9492/0.9492, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.096/2.096, allocations: 429.5 MB / 0.6736 GB, free: 4.035 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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 0.8782 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.454e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002712/0.002737, allocations: 1.728 MB / 0.8799 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.004857, allocations: 1.349 MB / 0.8812 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.004975, allocations: 8.594 kB / 0.8812 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.005385, allocations: 75.55 kB / 0.8812 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.00554, allocations: 81.05 kB / 0.8813 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007464/0.006287, allocations: 289.1 kB / 0.8816 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.006525, allocations: 195.1 kB / 0.8818 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/0.006572, allocations: 6.812 kB / 0.8818 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.006746, allocations: 107.7 kB / 0.8819 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.006875, allocations: 71.8 kB / 0.882 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.006898, allocations: 5.594 kB / 0.882 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005149/0.007413, allocations: 339.3 kB / 0.8823 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/0.007505, allocations: 63.83 kB / 0.8824 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.876e-05/0.007584, allocations: 63.78 kB / 0.8824 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005589/0.008142, allocations: 414.1 kB / 0.8828 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.008146, allocations: 3.984 kB / 0.8828 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.81e-07/0.008147, allocations: 0 / 0.8828 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.008152, allocations: 0 / 0.8828 GB, free: 1.918 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008045/0.008956, allocations: 0.5978 MB / 0.8834 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.008999, allocations: 8.031 kB / 0.8834 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.474e-05/0.009074, allocations: 28.75 kB / 0.8834 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.009436, allocations: 227.3 kB / 0.8836 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.009572, allocations: 149 kB / 0.8838 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.009587, allocations: 4.375 kB / 0.8838 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.009836, allocations: 66.94 kB / 0.8839 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.009844, allocations: 192 / 0.8839 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.009857, allocations: 8.125 kB / 0.8839 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.009865, allocations: 0 / 0.8839 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.335e-05/0.009948, allocations: 27.91 kB / 0.8839 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.01019, allocations: 212.4 kB / 0.8841 GB, free: 484 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008306/0.01103, allocations: 206.9 kB / 0.8843 GB, free: 264 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.01108, allocations: 27.67 kB / 0.8843 GB, free: 232 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.764e-05/0.01118, allocations: 23.98 kB / 0.8843 GB, free: 208 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.0112, allocations: 33.39 kB / 0.8844 GB, free: 164 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.0112, allocations: 0 / 0.8844 GB, free: 164 kB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002327/0.01144, allocations: 97.48 kB / 0.8845 GB, free: 60 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.01149, allocations: 59.33 kB / 0.8845 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.01178, allocations: 358.2 kB / 0.8849 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.01179, allocations: 25.7 kB / 0.8849 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/0.01189, allocations: 171.3 kB / 0.8851 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.01191, allocations: 27.78 kB / 0.8851 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.631e-05/0.012, allocations: 71.34 kB / 0.8851 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.01216, allocations: 0.5118 MB / 0.8856 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.01224, allocations: 56 kB / 0.8857 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.42e-05/0.01231, allocations: 52.23 kB / 0.8858 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.01249, allocations: 142.8 kB / 0.8859 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.01249, allocations: 4 kB / 0.8859 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000288/0.01278, allocations: 229 kB / 0.8861 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.01279, allocations: 4 kB / 0.8861 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.01281, allocations: 4 kB / 0.8861 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.01282, allocations: 0 / 0.8861 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.089e-05/0.0129, allocations: 23.92 kB / 0.8861 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.01291, allocations: 0 / 0.8861 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.881e-05/0.01301, allocations: 35.62 kB / 0.8862 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.01302, allocations: 4 kB / 0.8862 GB, free: 14.23 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.963e-05/0.01311, allocations: 156.6 kB / 0.8863 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.01314, allocations: 27.84 kB / 0.8864 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.01332, allocations: 91.45 kB / 0.8864 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01332, allocations: 4 kB / 0.8864 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.01333, allocations: 3.938 kB / 0.8864 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.01333, allocations: 3.984 kB / 0.8865 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.01351, allocations: 192.5 kB / 0.8866 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.01351, allocations: 4 kB / 0.8866 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.01357, allocations: 11.98 kB / 0.8867 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01358, allocations: 7.938 kB / 0.8867 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.01359, allocations: 0 / 0.8867 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01359, allocations: 0 / 0.8867 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01359, allocations: 0 / 0.8867 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.01375, allocations: 132.2 kB / 0.8868 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.01381, allocations: 27.84 kB / 0.8868 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.01384, allocations: 4 kB / 0.8868 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.0139, allocations: 4 kB / 0.8868 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.01395, allocations: 7.922 kB / 0.8868 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.01395, allocations: 8.125 kB / 0.8868 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001555/0.01411, allocations: 219 kB / 0.887 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01411, allocations: 4 kB / 0.887 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003828/0.01449, allocations: 115.7 kB / 0.8872 GB, free: 13.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 (6): * Single equations (assignments): 6 * 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.0004585/0.01495, allocations: 270.9 kB / 0.8874 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.01522, allocations: 199 kB / 0.8876 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.01522, allocations: 0 / 0.8876 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.218e-05/0.01528, allocations: 23.67 kB / 0.8876 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.01557, allocations: 44.36 kB / 0.8877 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007457/0.01632, allocations: 351.5 kB / 0.888 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.857e-05/0.01637, allocations: 79.81 kB / 0.8881 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.635e-05/0.01645, allocations: 21.14 kB / 0.8881 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.0165, allocations: 24.48 kB / 0.8881 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.0165, allocations: 0 / 0.8881 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of Templates: time 0.005707/0.0222, allocations: 3.267 MB / 0.8913 GB, free: 8.883 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.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.310054218163714]