Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.788/1.788, allocations: 387.2 MB / 394.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009691/0.0009692, allocations: 181.3 kB / 487 MB, free: 5.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.157/1.157, allocations: 221.3 MB / 0.7819 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000826/0.000826, allocations: 94.61 kB / 0.9213 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.54e-06/5.55e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1778, allocations: 142.3 MB / 1.205 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5081/0.6859, allocations: 180.1 MB / 1.381 GB, free: 12.75 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.6862, allocations: 97.56 kB / 1.381 GB, free: 12.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.05433/0.7405, allocations: 25.13 MB / 1.406 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.036e-05/0.7406, allocations: 12 kB / 1.406 GB, free: 7.551 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0008516/0.7414, allocations: 0.6367 MB / 1.406 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.7415, allocations: 9.031 kB / 1.406 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.7425, allocations: 143.3 kB / 1.407 GB, free: 6.746 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.7429, allocations: 326.3 kB / 1.407 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.743, allocations: 12 kB / 1.407 GB, free: 6.402 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.743, allocations: 24 kB / 1.407 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005477/0.7436, allocations: 399.2 kB / 1.407 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006848/0.7443, allocations: 0.5598 MB / 1.408 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.7443, allocations: 4 kB / 1.408 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.7443, allocations: 4 kB / 1.408 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/0.7444, allocations: 35.83 kB / 1.408 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003038/0.7474, allocations: 3.443 MB / 1.411 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.7478, allocations: 326.3 kB / 1.412 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.748, allocations: 167.6 kB / 1.412 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.748, allocations: 4 kB / 1.412 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.748, allocations: 33.94 kB / 1.412 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/0.748, allocations: 4 kB / 1.412 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.001632/0.7497, allocations: 0.6347 MB / 1.412 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.7497, allocations: 85.09 kB / 1.412 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.75, allocations: 263.1 kB / 1.413 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.75, allocations: 29.69 kB / 1.413 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.7501, allocations: 239.7 kB / 1.413 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/0.7502, allocations: 94.91 kB / 1.413 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.7502, allocations: 4 kB / 1.413 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.7503, allocations: 339.8 kB / 1.413 GB, free: 240 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.7506, allocations: 167.6 kB / 1.414 GB, free: 132 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.7509, allocations: 330.2 kB / 1.414 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.7513, allocations: 253.1 kB / 1.414 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7513, allocations: 0 / 1.414 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001611/0.7529, allocations: 0.709 MB / 1.415 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006518/0.7536, allocations: 2.086 MB / 1.417 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7536, allocations: 4.047 kB / 1.417 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.7547, allocations: 200.7 kB / 1.417 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.7551, allocations: 95.73 kB / 1.417 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.7562, allocations: 1.281 MB / 1.418 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.7565, allocations: 24.06 kB / 1.418 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.7566, allocations: 27.3 kB / 1.418 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-06/0.7566, allocations: 4 kB / 1.418 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000693/0.7573, allocations: 453.2 kB / 1.419 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.7573, allocations: 4 kB / 1.419 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.7573, allocations: 12 kB / 1.419 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.7577, allocations: 99.27 kB / 1.419 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.7578, allocations: 15.92 kB / 1.419 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.758, allocations: 20.41 kB / 1.419 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.758, allocations: 24.67 kB / 1.419 GB, free: 10.72 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.7581, allocations: 124.8 kB / 1.419 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.7582, allocations: 35.56 kB / 1.419 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.7599, allocations: 0.641 MB / 1.42 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.76, allocations: 4 kB / 1.42 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.76, allocations: 3.906 kB / 1.42 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.76, allocations: 0 / 1.42 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/0.7607, allocations: 0.5926 MB / 1.42 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7607, allocations: 0 / 1.42 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.7609, allocations: 51.22 kB / 1.42 GB, free: 9.434 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.7624, allocations: 361.6 kB / 1.421 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.7624, allocations: 0 / 1.421 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003184/0.7656, allocations: 3.227 MB / 1.424 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7656, allocations: 0 / 1.424 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001584/0.7672, allocations: 0.8394 MB / 1.425 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.7674, allocations: 143 kB / 1.425 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.7674, allocations: 0 / 1.425 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.7678, allocations: 23.97 kB / 1.425 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.7678, allocations: 23.47 kB / 1.425 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.7678, allocations: 8 kB / 1.425 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.00016/0.768, allocations: 199.7 kB / 1.425 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006843/0.7687, allocations: 168.1 kB / 1.425 GB, free: 4.566 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001381/0.7688, allocations: 119.1 kB / 1.425 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.77, allocations: 0.6914 MB / 1.426 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.77, allocations: 4.75 kB / 1.426 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006266/0.7706, allocations: 436.8 kB / 1.426 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.771, allocations: 59.62 kB / 1.427 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009543/0.772, allocations: 0.5526 MB / 1.427 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/0.7724, allocations: 0.8775 MB / 1.428 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of SimCode: time 2.61e-07/0.7724, allocations: 0 / 1.428 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of Templates: time 0.01064/0.7831, allocations: 7.169 MB / 1.435 GB, free: 10.96 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches