Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001785/0.001785, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.002128/0.002128, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.161/1.161, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.93/1.93, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 177] 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.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_11_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_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.813e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002736/0.002754, allocations: 2.155 MB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008281/0.003582, allocations: 0.5158 MB / 0.7897 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.032e-05/0.003672, allocations: 4.5 kB / 0.7897 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008463/0.004518, allocations: 416.5 kB / 0.7901 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.004714, allocations: 96.12 kB / 0.7902 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.004927, allocations: 113.2 kB / 0.7903 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.005157, allocations: 214.7 kB / 0.7905 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003395/0.005496, allocations: 134.1 kB / 0.7906 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.00562, allocations: 115.8 kB / 0.7907 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.005857, allocations: 91.75 kB / 0.7908 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.005882, allocations: 12 kB / 0.7908 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.006003, allocations: 79.78 kB / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.006068, allocations: 59.83 kB / 0.7909 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.006125, allocations: 51.89 kB / 0.791 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.006354, allocations: 163.5 kB / 0.7912 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.006356, allocations: 0.5938 kB / 0.7912 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.006357, allocations: 0.5938 kB / 0.7912 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.006362, allocations: 0 / 0.7912 GB, free: 8.336 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004978/0.00686, allocations: 469.9 kB / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.0069, allocations: 12.03 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003065/0.007207, allocations: 68.73 kB / 0.7917 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.007415, allocations: 173.8 kB / 0.7918 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.007431, allocations: 8.656 kB / 0.7919 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.007455, allocations: 17.97 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.007708, allocations: 195.4 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.007722, allocations: 192 / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.007739, allocations: 4.375 kB / 0.7921 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/0.007776, allocations: 24.14 kB / 0.7921 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.007879, allocations: 67.33 kB / 0.7921 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007421/0.008621, allocations: 0.9989 MB / 0.7931 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.238e-05/0.008683, allocations: 35 kB / 0.7932 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.008708, allocations: 16.41 kB / 0.7932 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.008726, allocations: 7.984 kB / 0.7932 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.008749, allocations: 34.11 kB / 0.7932 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.00875, allocations: 0 / 0.7932 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001477/0.008898, allocations: 62.92 kB / 0.7933 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.008925, allocations: 55.41 kB / 0.7933 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.00903, allocations: 199.8 kB / 0.7935 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.009041, allocations: 30.33 kB / 0.7935 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.009129, allocations: 194.3 kB / 0.7937 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.009144, allocations: 20.95 kB / 0.7937 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.009184, allocations: 39.33 kB / 0.7938 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.009314, allocations: 0.4961 MB / 0.7943 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.834e-05/0.009342, allocations: 16.59 kB / 0.7943 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.009414, allocations: 112.5 kB / 0.7944 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.009519, allocations: 136 kB / 0.7945 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.009523, allocations: 5.031 kB / 0.7945 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000128/0.009651, allocations: 120.4 kB / 0.7946 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.009662, allocations: 4 kB / 0.7946 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.009669, allocations: 4 kB / 0.7947 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.009688, allocations: 4 kB / 0.7947 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.438e-05/0.009773, allocations: 27.98 kB / 0.7947 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.009781, allocations: 10.72 kB / 0.7947 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.009818, allocations: 11.89 kB / 0.7947 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.009827, allocations: 11.94 kB / 0.7947 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.211e-05/0.009889, allocations: 138.9 kB / 0.7948 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.349e-05/0.009953, allocations: 111.8 kB / 0.795 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.556e-05/0.01004, allocations: 134.9 kB / 0.7951 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.61e-07/0.01004, allocations: 0.5625 kB / 0.7951 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001151/0.01015, allocations: 123.3 kB / 0.7952 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.671e-06/0.01016, allocations: 13.06 kB / 0.7952 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.01016, allocations: 4 kB / 0.7952 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-06/0.01017, allocations: 0.6562 kB / 0.7952 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.425e-05/0.01021, allocations: 24 kB / 0.7952 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01021, allocations: 13.02 kB / 0.7953 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.01024, allocations: 4 kB / 0.7953 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.01025, allocations: 8 kB / 0.7953 GB, free: 3.699 MB / 0.7448 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 9.516e-05/0.01034, allocations: 280 kB / 0.7955 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.01036, allocations: 7.953 kB / 0.7955 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.01039, allocations: 8.344 kB / 0.7955 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01039, allocations: 4 kB / 0.7956 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01039, allocations: 0 / 0.7956 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.0104, allocations: 0 / 0.7956 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.01068, allocations: 0.4952 MB / 0.796 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.01068, allocations: 0 / 0.796 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.505e-05/0.01069, allocations: 8.875 kB / 0.796 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.01069, allocations: 0 / 0.796 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.0107, allocations: 1.062 kB / 0.796 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.0107, allocations: 11.94 kB / 0.7961 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.0107, allocations: 0 / 0.7961 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.187e-05/0.01079, allocations: 120.5 kB / 0.7962 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.01081, allocations: 15.92 kB / 0.7962 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.01082, allocations: 5.125 kB / 0.7962 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.585e-05/0.01083, allocations: 3.938 kB / 0.7962 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.01085, allocations: 192 / 0.7962 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.01085, allocations: 9.062 kB / 0.7962 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.675e-05/0.01091, allocations: 149.4 kB / 0.7963 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01091, allocations: 0 / 0.7963 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002185/0.01113, allocations: 56.34 kB / 0.7964 GB, free: 2.441 MB / 0.7448 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 7.447e-05/0.0112, allocations: 104.7 kB / 0.7965 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.01135, allocations: 99.17 kB / 0.7966 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.01136, allocations: 4 kB / 0.7966 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.426e-05/0.01137, allocations: 15.62 kB / 0.7966 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.01156, allocations: 20.86 kB / 0.7966 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.01212, allocations: 286.4 kB / 0.7969 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.208e-05/0.01217, allocations: 75.81 kB / 0.797 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.284e-05/0.01222, allocations: 24.47 kB / 0.797 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.01225, allocations: 12.5 kB / 0.797 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.01225, allocations: 0 / 0.797 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of Templates: time 0.002561/0.01481, allocations: 0.7856 MB / 0.7978 GB, free: 0.9727 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.81241336511448]