Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.0008494/0.0008494, allocations: 73.97 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.0009177/0.0009177, allocations: 169 kB / 24.06 MB, free: 456 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.9301/0.9301, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.084/2.084, allocations: 429.5 MB / 0.6743 GB, free: 3.93 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.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.8794 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.145e-06/9.277e-06, allocations: 2.312 kB / 0.8794 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002215/0.002224, allocations: 2.153 MB / 0.8815 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006402/0.002864, allocations: 0.5152 MB / 0.882 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.002925, allocations: 3.938 kB / 0.882 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.003474, allocations: 425.6 kB / 0.8824 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.003614, allocations: 95.44 kB / 0.8825 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.003773, allocations: 106.9 kB / 0.8826 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.003945, allocations: 207.4 kB / 0.8828 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.004134, allocations: 135.7 kB / 0.8829 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.38e-05/0.004228, allocations: 119.7 kB / 0.883 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.004386, allocations: 95.78 kB / 0.8831 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.004403, allocations: 16.53 kB / 0.8831 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.004491, allocations: 71.86 kB / 0.8832 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.004536, allocations: 65.47 kB / 0.8832 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.004577, allocations: 51.91 kB / 0.8833 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.004747, allocations: 155.5 kB / 0.8834 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.004749, allocations: 3.938 kB / 0.8834 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.21e-07/0.004749, allocations: 1.344 kB / 0.8834 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.004752, allocations: 0 / 0.8834 GB, free: 1.902 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003343/0.005086, allocations: 484.1 kB / 0.8839 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.336e-05/0.00511, allocations: 16.03 kB / 0.8839 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.00533, allocations: 64.75 kB / 0.884 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.005458, allocations: 152.4 kB / 0.8841 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-06/0.005467, allocations: 8.656 kB / 0.8841 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.005483, allocations: 16.36 kB / 0.8842 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.005645, allocations: 197.5 kB / 0.8843 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.005652, allocations: 192 / 0.8843 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.005663, allocations: 8.375 kB / 0.8844 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.005684, allocations: 20.2 kB / 0.8844 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.967e-05/0.005743, allocations: 48.69 kB / 0.8844 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.006281, allocations: 1.007 MB / 0.8854 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.809e-05/0.006319, allocations: 35 kB / 0.8854 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.006333, allocations: 11.69 kB / 0.8854 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.00634, allocations: 0 / 0.8854 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.006357, allocations: 37.47 kB / 0.8855 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.006359, allocations: 4 kB / 0.8855 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 8.463e-05/0.006443, allocations: 53.64 kB / 0.8855 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.006462, allocations: 59.34 kB / 0.8856 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/0.006538, allocations: 201.6 kB / 0.8858 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.006547, allocations: 29.7 kB / 0.8858 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.006617, allocations: 194.3 kB / 0.886 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/0.006629, allocations: 27.81 kB / 0.886 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.006661, allocations: 27.38 kB / 0.8861 GB, free: 15 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.006761, allocations: 0.5 MB / 0.8865 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.006777, allocations: 11.69 kB / 0.8865 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.056e-05/0.006827, allocations: 112.5 kB / 0.8867 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.653e-05/0.006904, allocations: 136.3 kB / 0.8868 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.006905, allocations: 0 / 0.8868 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001023/0.007007, allocations: 117.4 kB / 0.8869 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/0.007016, allocations: 8 kB / 0.8869 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.007019, allocations: 0 / 0.8869 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.007027, allocations: 7.984 kB / 0.8869 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.546e-05/0.007083, allocations: 20 kB / 0.8869 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.007086, allocations: 4 kB / 0.8869 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.007122, allocations: 16.14 kB / 0.887 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.00713, allocations: 19.92 kB / 0.887 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.278e-05/0.007173, allocations: 134.9 kB / 0.8871 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.765e-05/0.00722, allocations: 104.5 kB / 0.8872 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.146e-05/0.007292, allocations: 136.6 kB / 0.8873 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.41e-07/0.007292, allocations: 0 / 0.8873 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 9.363e-05/0.007386, allocations: 113.4 kB / 0.8874 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/0.007393, allocations: 4 kB / 0.8874 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.007396, allocations: 4 kB / 0.8874 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-06/0.0074, allocations: 8.312 kB / 0.8875 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.12e-05/0.007441, allocations: 27.92 kB / 0.8875 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.007443, allocations: 4 kB / 0.8875 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.154e-05/0.007475, allocations: 11.95 kB / 0.8875 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-06/0.00748, allocations: 8 kB / 0.8875 GB, free: 13.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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 8.13e-05/0.007561, allocations: 276 kB / 0.8878 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.007579, allocations: 11.95 kB / 0.8878 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.755e-05/0.007596, allocations: 16.33 kB / 0.8878 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.007598, allocations: 0 / 0.8878 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.007598, allocations: 0 / 0.8878 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.0076, allocations: 4 kB / 0.8878 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.007822, allocations: 463.8 kB / 0.8882 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007823, allocations: 7.938 kB / 0.8882 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-05/0.007836, allocations: 4 kB / 0.8883 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.007838, allocations: 4 kB / 0.8883 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-06/0.007842, allocations: 3.984 kB / 0.8883 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.007843, allocations: 0 / 0.8883 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.007846, allocations: 7.938 kB / 0.8883 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.294e-05/0.007908, allocations: 115.5 kB / 0.8884 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.007923, allocations: 11.95 kB / 0.8884 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.007931, allocations: 4 kB / 0.8884 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.506e-05/0.007946, allocations: 0 / 0.8884 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.007957, allocations: 11.92 kB / 0.8884 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.007958, allocations: 0 / 0.8884 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.007998, allocations: 147.1 kB / 0.8885 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007998, allocations: 4 kB / 0.8885 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002062/0.008204, allocations: 55.84 kB / 0.8886 GB, free: 12.07 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 4.863e-05/0.008253, allocations: 91.25 kB / 0.8887 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.531e-05/0.008348, allocations: 102.7 kB / 0.8888 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.00835, allocations: 8 kB / 0.8888 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.454e-05/0.008365, allocations: 20.98 kB / 0.8888 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.008516, allocations: 25.08 kB / 0.8888 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.008878, allocations: 278.4 kB / 0.8891 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.008915, allocations: 71.83 kB / 0.8892 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.638e-05/0.008951, allocations: 12.48 kB / 0.8892 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.008997, allocations: 78.2 kB / 0.8893 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.008998, allocations: 4 kB / 0.8893 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of Templates: time 0.002062/0.01106, allocations: 0.8865 MB / 0.8901 GB, free: 10.44 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.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.187501072883606]