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.0009024/0.0009024, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001289/0.001289, allocations: 173 kB / 23.36 MB, free: 1.129 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.9901/0.9901, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.444/2.444, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.543e-06/1.543e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.472e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.006474/0.006499, allocations: 2.188 MB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.00761, allocations: 0.5216 MB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.007726, allocations: 7.938 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0009722/0.008698, allocations: 426.6 kB / 0.8417 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.008954, allocations: 103.4 kB / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.01225, allocations: 99.73 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.01255, allocations: 207.4 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.0128, allocations: 138.8 kB / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.01295, allocations: 115.7 kB / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.01319, allocations: 87.75 kB / 0.8424 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.01322, allocations: 16 kB / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.01339, allocations: 79.8 kB / 0.8425 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003678/0.01375, allocations: 59.81 kB / 0.8425 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.01381, allocations: 51.91 kB / 0.8426 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.01407, allocations: 167.4 kB / 0.8427 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.01408, allocations: 0 / 0.8427 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.232e-06/0.01408, allocations: 0 / 0.8427 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.01408, allocations: 0 / 0.8427 GB, free: 9.934 MB / 0.8073 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.000424/0.01451, allocations: 336.2 kB / 0.8431 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.01454, allocations: 12.62 kB / 0.8431 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.01492, allocations: 72.8 kB / 0.8431 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003243/0.01816, allocations: 149.6 kB / 0.8433 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.01818, allocations: 16.64 kB / 0.8433 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.0182, allocations: 12.38 kB / 0.8433 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.01844, allocations: 184.3 kB / 0.8435 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.01845, allocations: 192 / 0.8435 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.01847, allocations: 4.375 kB / 0.8435 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/0.01851, allocations: 20.2 kB / 0.8435 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.239e-05/0.01859, allocations: 53.25 kB / 0.8436 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007037/0.01929, allocations: 0.7158 MB / 0.8443 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.801e-05/0.01935, allocations: 30.5 kB / 0.8443 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.895e-05/0.01937, allocations: 8.859 kB / 0.8443 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.01938, allocations: 0 / 0.8443 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.01941, allocations: 34.56 kB / 0.8443 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.01941, allocations: 0 / 0.8443 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001338/0.01954, allocations: 49.78 kB / 0.8444 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.01957, allocations: 59.33 kB / 0.8444 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.01969, allocations: 144.5 kB / 0.8446 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.0197, allocations: 25.7 kB / 0.8446 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.01977, allocations: 155.5 kB / 0.8447 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.01978, allocations: 7.906 kB / 0.8447 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.01983, allocations: 33.69 kB / 0.8448 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.01993, allocations: 326.8 kB / 0.8451 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.491e-05/0.01995, allocations: 12.86 kB / 0.8451 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.02002, allocations: 73.38 kB / 0.8452 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.02012, allocations: 112.1 kB / 0.8453 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.02012, allocations: 4 kB / 0.8453 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001268/0.02025, allocations: 97.41 kB / 0.8454 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.02027, allocations: 11.98 kB / 0.8454 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.02027, allocations: 0 / 0.8454 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.02029, allocations: 4 kB / 0.8454 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.02038, allocations: 24 kB / 0.8454 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.02038, allocations: 7.969 kB / 0.8454 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.751e-05/0.02044, allocations: 23.83 kB / 0.8454 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.02045, allocations: 8.312 kB / 0.8455 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.636e-05/0.02051, allocations: 98.91 kB / 0.8455 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.225e-05/0.02056, allocations: 77.42 kB / 0.8456 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.167e-05/0.02064, allocations: 97.3 kB / 0.8457 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.02064, allocations: 0 / 0.8457 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001215/0.02076, allocations: 101.4 kB / 0.8458 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.02077, allocations: 8 kB / 0.8458 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.02078, allocations: 0 / 0.8458 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.02078, allocations: 4.312 kB / 0.8458 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/0.02085, allocations: 35.92 kB / 0.8459 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.02085, allocations: 4 kB / 0.8459 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.0209, allocations: 11.89 kB / 0.8459 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.02091, allocations: 4 kB / 0.8459 GB, free: 6.363 MB / 0.8073 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 0.003091/0.024, allocations: 192.1 kB / 0.8461 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.02402, allocations: 4 kB / 0.8461 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.02405, allocations: 16.61 kB / 0.8461 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.02405, allocations: 0 / 0.8461 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.02405, allocations: 3.984 kB / 0.8461 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.02406, allocations: 0 / 0.8461 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.02435, allocations: 432.4 kB / 0.8465 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.02435, allocations: 3.938 kB / 0.8465 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.02437, allocations: 8 kB / 0.8465 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.02438, allocations: 0 / 0.8465 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.02438, allocations: 4 kB / 0.8465 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.02439, allocations: 4 kB / 0.8465 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.02439, allocations: 3.938 kB / 0.8465 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.851e-05/0.02447, allocations: 104.1 kB / 0.8466 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.02449, allocations: 20.02 kB / 0.8466 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.0245, allocations: 0 / 0.8466 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.128e-05/0.02452, allocations: 0 / 0.8466 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.02454, allocations: 11.92 kB / 0.8466 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.02454, allocations: 4 kB / 0.8466 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.71e-05/0.02457, allocations: 24.83 kB / 0.8467 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02457, allocations: 0 / 0.8467 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002742/0.02485, allocations: 55.84 kB / 0.8467 GB, free: 5.406 MB / 0.8073 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 9.166e-05/0.02494, allocations: 80.42 kB / 0.8468 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.02507, allocations: 89.42 kB / 0.8469 GB, free: 5.227 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.02508, allocations: 4 kB / 0.8469 GB, free: 5.223 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.501e-05/0.02509, allocations: 12.8 kB / 0.8469 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.02526, allocations: 23.03 kB / 0.8469 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.02579, allocations: 287.3 kB / 0.8472 GB, free: 4.867 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.455e-05/0.02585, allocations: 75.81 kB / 0.8473 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.038e-05/0.0259, allocations: 8.484 kB / 0.8473 GB, free: 4.766 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.02595, allocations: 63.38 kB / 0.8473 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of SimCode: time 7.22e-07/0.02595, allocations: 0 / 0.8473 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of Templates: time 0.005904/0.03186, allocations: 0.8726 MB / 0.8482 GB, free: 3.852 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.282268704846501]