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.001125/0.001125, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001671/0.001671, allocations: 173 kB / 23.36 MB, free: 1.133 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.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.44/2.44, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.954e-06/1.954e-06, allocations: 0 / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.346e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002825/0.002848, allocations: 2.148 MB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009747/0.003823, allocations: 0.5256 MB / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.003926, allocations: 7.938 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007603/0.004687, allocations: 426.6 kB / 0.8416 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.004917, allocations: 99.42 kB / 0.8417 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.00516, allocations: 107.7 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.005382, allocations: 207.3 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.005583, allocations: 138.8 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.005708, allocations: 107.8 kB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.005919, allocations: 91.75 kB / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.005944, allocations: 16 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.006072, allocations: 71.8 kB / 0.8424 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.00613, allocations: 63.81 kB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.006178, allocations: 47.91 kB / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.006379, allocations: 171.4 kB / 0.8426 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.006381, allocations: 0 / 0.8426 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006382, allocations: 0 / 0.8426 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.006385, allocations: 0 / 0.8426 GB, free: 10.03 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.0003829/0.006768, allocations: 344.1 kB / 0.843 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.006801, allocations: 12.62 kB / 0.843 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.007065, allocations: 64.81 kB / 0.843 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.007233, allocations: 149.6 kB / 0.8432 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.007247, allocations: 16.66 kB / 0.8432 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.007268, allocations: 16.36 kB / 0.8432 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.007451, allocations: 180.3 kB / 0.8434 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.007461, allocations: 4.172 kB / 0.8434 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.007473, allocations: 4.375 kB / 0.8434 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.007499, allocations: 20.2 kB / 0.8434 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.987e-05/0.007559, allocations: 49.27 kB / 0.8435 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.008105, allocations: 0.7158 MB / 0.8442 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.664e-05/0.008152, allocations: 30.5 kB / 0.8442 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.008169, allocations: 8.859 kB / 0.8442 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.008178, allocations: 0 / 0.8442 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.008196, allocations: 30.56 kB / 0.8442 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.008197, allocations: 0 / 0.8442 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001014/0.008299, allocations: 53.66 kB / 0.8443 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.008324, allocations: 55.41 kB / 0.8443 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.008403, allocations: 148.5 kB / 0.8445 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.008412, allocations: 25.7 kB / 0.8445 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.008467, allocations: 147.5 kB / 0.8446 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.198e-06/0.008476, allocations: 19.91 kB / 0.8447 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.008511, allocations: 29.69 kB / 0.8447 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.008596, allocations: 322.8 kB / 0.845 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.008618, allocations: 16.84 kB / 0.845 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.497e-05/0.008663, allocations: 73.44 kB / 0.8451 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.708e-05/0.00874, allocations: 108.1 kB / 0.8452 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.008742, allocations: 0 / 0.8452 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.329e-05/0.008835, allocations: 101.4 kB / 0.8453 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.008846, allocations: 8.312 kB / 0.8453 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.00885, allocations: 4 kB / 0.8453 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.008865, allocations: 8 kB / 0.8453 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.008932, allocations: 23.98 kB / 0.8453 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.008939, allocations: 11.92 kB / 0.8453 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.765e-05/0.008977, allocations: 11.89 kB / 0.8453 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.008983, allocations: 4 kB / 0.8453 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.251e-05/0.009025, allocations: 106.9 kB / 0.8454 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.934e-05/0.009065, allocations: 80.8 kB / 0.8455 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.03e-05/0.009125, allocations: 101.3 kB / 0.8456 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.31e-07/0.009126, allocations: 0 / 0.8456 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 8.092e-05/0.009206, allocations: 101.7 kB / 0.8457 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.679e-06/0.009211, allocations: 4 kB / 0.8457 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/0.009214, allocations: 7.984 kB / 0.8457 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-06/0.009217, allocations: 4 kB / 0.8457 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.355e-05/0.009261, allocations: 23.94 kB / 0.8458 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-06/0.009262, allocations: 3.938 kB / 0.8458 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.009295, allocations: 19.88 kB / 0.8458 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.009301, allocations: 11.98 kB / 0.8458 GB, free: 6.449 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 6.794e-05/0.009369, allocations: 196.5 kB / 0.846 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.009382, allocations: 4 kB / 0.846 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.009402, allocations: 8.344 kB / 0.846 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.009404, allocations: 3.984 kB / 0.846 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.009406, allocations: 0 / 0.846 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.009409, allocations: 4 kB / 0.846 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.009639, allocations: 428.4 kB / 0.8464 GB, free: 5.766 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.00964, allocations: 0 / 0.8464 GB, free: 5.766 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-05/0.009655, allocations: 4 kB / 0.8464 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.009659, allocations: 8.125 kB / 0.8464 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.009664, allocations: 4 kB / 0.8464 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.009665, allocations: 0 / 0.8464 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.009667, allocations: 7.938 kB / 0.8464 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.036e-05/0.009728, allocations: 96.11 kB / 0.8465 GB, free: 5.617 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.009745, allocations: 11.89 kB / 0.8465 GB, free: 5.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.009753, allocations: 0 / 0.8465 GB, free: 5.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/0.009768, allocations: 4 kB / 0.8465 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.009781, allocations: 11.92 kB / 0.8465 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.009785, allocations: 4 kB / 0.8466 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.922e-05/0.009804, allocations: 28.83 kB / 0.8466 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009804, allocations: 0 / 0.8466 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000178/0.009982, allocations: 59.84 kB / 0.8466 GB, free: 5.496 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 6.911e-05/0.01005, allocations: 72.42 kB / 0.8467 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.01016, allocations: 94.61 kB / 0.8468 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.01017, allocations: 4.062 kB / 0.8468 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-05/0.01018, allocations: 20.78 kB / 0.8468 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.0103, allocations: 21.53 kB / 0.8468 GB, free: 5.273 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.01073, allocations: 275.3 kB / 0.8471 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.26e-05/0.01077, allocations: 75.83 kB / 0.8472 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.096e-05/0.01081, allocations: 16.73 kB / 0.8472 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.01086, allocations: 63.3 kB / 0.8473 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.01086, allocations: 0 / 0.8473 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of Templates: time 0.002347/0.01321, allocations: 0.8741 MB / 0.8481 GB, free: 3.934 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 -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.363057089969516]