Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.331/1.331, allocations: 249.4 MB / 256.7 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 181.2 kB / 316 MB, free: 3.488 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.2 MB / 0.5667 GB, free: 15.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 90.2 kB / 0.671 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.044e-06/7.074e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.229, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7117/0.9408, allocations: 163.3 MB / 1.044 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.9411, allocations: 97.44 kB / 1.044 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.05636/0.9975, allocations: 22.88 MB / 1.066 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.994e-05/0.9976, allocations: 11.98 kB / 1.066 GB, free: 6.391 MB / 0.6823 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.001204/0.9988, allocations: 0.6451 MB / 1.067 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.9988, allocations: 12.03 kB / 1.067 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/1, allocations: 139.3 kB / 1.067 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/1.001, allocations: 327.1 kB / 1.068 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/1.001, allocations: 12 kB / 1.068 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/1.001, allocations: 31.88 kB / 1.068 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006366/1.001, allocations: 394.6 kB / 1.068 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007554/1.002, allocations: 0.5604 MB / 1.069 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/1.002, allocations: 11.92 kB / 1.069 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/1.002, allocations: 0 / 1.069 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.315e-05/1.002, allocations: 32.02 kB / 1.069 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004198/1.006, allocations: 3.447 MB / 1.072 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/1.007, allocations: 315.7 kB / 1.072 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/1.007, allocations: 171.9 kB / 1.072 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.604e-05/1.007, allocations: 6.938 kB / 1.072 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/1.007, allocations: 37.56 kB / 1.072 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 3.056e-06/1.007, allocations: 4 kB / 1.072 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26): time 0.002122/1.009, allocations: 0.6298 MB / 1.073 GB, free: 36 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.161e-05/1.01, allocations: 81.11 kB / 1.073 GB, free: 15.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/1.01, allocations: 267.5 kB / 1.073 GB, free: 15.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/1.01, allocations: 25.8 kB / 1.073 GB, free: 15.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/1.01, allocations: 249.3 kB / 1.074 GB, free: 15.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.036e-05/1.01, allocations: 88.48 kB / 1.074 GB, free: 15.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/1.01, allocations: 0 / 1.074 GB, free: 15.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002067/1.011, allocations: 340.2 kB / 1.074 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/1.011, allocations: 167.9 kB / 1.074 GB, free: 14.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/1.011, allocations: 328.3 kB / 1.075 GB, free: 14.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/1.012, allocations: 254.3 kB / 1.075 GB, free: 14.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.012, allocations: 0 / 1.075 GB, free: 14.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001704/1.013, allocations: 0.7109 MB / 1.075 GB, free: 13.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008627/1.014, allocations: 2.092 MB / 1.077 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.014, allocations: 4 kB / 1.078 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/1.015, allocations: 197.7 kB / 1.078 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/1.016, allocations: 94.83 kB / 1.078 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/1.017, allocations: 1.289 MB / 1.079 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/1.018, allocations: 23.88 kB / 1.079 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/1.018, allocations: 23.56 kB / 1.079 GB, free: 10.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/1.018, allocations: 4 kB / 1.079 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007887/1.018, allocations: 448.4 kB / 1.08 GB, free: 9.711 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.018, allocations: 4 kB / 1.08 GB, free: 9.707 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/1.018, allocations: 12 kB / 1.08 GB, free: 9.695 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/1.019, allocations: 104.3 kB / 1.08 GB, free: 9.598 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/1.019, allocations: 11.94 kB / 1.08 GB, free: 9.586 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/1.019, allocations: 27.83 kB / 1.08 GB, free: 9.559 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/1.019, allocations: 26.73 kB / 1.08 GB, free: 9.539 MB / 0.698 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.0001371/1.019, allocations: 116.8 kB / 1.08 GB, free: 9.418 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/1.019, allocations: 31.62 kB / 1.08 GB, free: 9.387 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/1.021, allocations: 0.6375 MB / 1.08 GB, free: 8.855 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/1.021, allocations: 7.984 kB / 1.08 GB, free: 8.848 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.021, allocations: 0 / 1.08 GB, free: 8.848 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.021, allocations: 0 / 1.08 GB, free: 8.848 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009024/1.022, allocations: 0.5967 MB / 1.081 GB, free: 8.301 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.022, allocations: 4.094 kB / 1.081 GB, free: 8.297 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/1.022, allocations: 43.92 kB / 1.081 GB, free: 8.254 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/1.024, allocations: 362.3 kB / 1.081 GB, free: 7.914 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/1.024, allocations: 4 kB / 1.081 GB, free: 7.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/1.028, allocations: 3.224 MB / 1.085 GB, free: 4.684 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.028, allocations: 0 / 1.085 GB, free: 4.684 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001746/1.029, allocations: 0.8325 MB / 1.085 GB, free: 3.914 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/1.03, allocations: 143.4 kB / 1.086 GB, free: 3.766 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/1.03, allocations: 4 kB / 1.086 GB, free: 3.762 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/1.03, allocations: 23.91 kB / 1.086 GB, free: 3.738 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/1.03, allocations: 22.06 kB / 1.086 GB, free: 3.719 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/1.03, allocations: 10.81 kB / 1.086 GB, free: 3.711 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0002002/1.03, allocations: 202.9 kB / 1.086 GB, free: 3.551 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008498/1.031, allocations: 164.1 kB / 1.086 GB, free: 3.391 MB / 0.698 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.0002165/1.031, allocations: 119.2 kB / 1.086 GB, free: 3.262 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001361/1.033, allocations: 0.6903 MB / 1.087 GB, free: 2.754 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/1.033, allocations: 8.062 kB / 1.087 GB, free: 2.746 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006904/1.034, allocations: 431 kB / 1.087 GB, free: 2.363 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/1.034, allocations: 51 kB / 1.087 GB, free: 2.328 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/1.035, allocations: 0.5561 MB / 1.088 GB, free: 1.801 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005074/1.036, allocations: 0.8784 MB / 1.089 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/1.036, allocations: 4 kB / 1.089 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of Templates: time 0.01212/1.048, allocations: 7.192 MB / 1.096 GB, free: 9.77 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches