Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.702/1.702, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.0009332/0.0009333, allocations: 182.8 kB / 490.8 MB, free: 1.918 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.058/1.058, allocations: 221.3 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008071/0.0008071, allocations: 92.67 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.129e-06/5.139e-06, allocations: 4 kB / 1.072 GB, free: 164.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1647, allocations: 143 MB / 1.212 GB, free: 21.89 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4776/0.6423, allocations: 181.6 MB / 1.389 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.6425, allocations: 97.11 kB / 1.389 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.05108/0.6936, allocations: 25.13 MB / 1.414 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.234e-05/0.6936, allocations: 19.94 kB / 1.414 GB, free: 15.75 MB / 0.8698 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.0007532/0.6944, allocations: 0.6322 MB / 1.414 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.6944, allocations: 11.97 kB / 1.414 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009946/0.6954, allocations: 151.2 kB / 1.414 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.6958, allocations: 330 kB / 1.415 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.6958, allocations: 12 kB / 1.415 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.517e-05/0.6959, allocations: 22.5 kB / 1.415 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005141/0.6964, allocations: 396.4 kB / 1.415 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006222/0.697, allocations: 0.5659 MB / 1.416 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.6971, allocations: 11.84 kB / 1.416 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.6971, allocations: 7.938 kB / 1.416 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/0.6972, allocations: 32.39 kB / 1.416 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/0.6999, allocations: 3.435 MB / 1.419 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.7003, allocations: 321.9 kB / 1.419 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.7005, allocations: 167.9 kB / 1.42 GB, free: 10 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.7005, allocations: 7.984 kB / 1.42 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.7005, allocations: 42.84 kB / 1.42 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 1.283e-06/0.7005, allocations: 0 / 1.42 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.001527/0.702, allocations: 0.6245 MB / 1.42 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.7021, allocations: 85.05 kB / 1.42 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.7023, allocations: 261.5 kB / 1.421 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.7023, allocations: 29.7 kB / 1.421 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.7024, allocations: 238.7 kB / 1.421 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/0.7025, allocations: 94.94 kB / 1.421 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.7025, allocations: 0 / 1.421 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.7026, allocations: 347.1 kB / 1.421 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.7028, allocations: 167.4 kB / 1.421 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.7031, allocations: 322.4 kB / 1.422 GB, free: 7.992 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.7035, allocations: 258 kB / 1.422 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7035, allocations: 0 / 1.422 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001516/0.705, allocations: 0.7041 MB / 1.423 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000502/0.7055, allocations: 2.089 MB / 1.425 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7056, allocations: 4 kB / 1.425 GB, free: 5.012 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.7066, allocations: 196.6 kB / 1.425 GB, free: 4.832 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.707, allocations: 95.31 kB / 1.425 GB, free: 4.742 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009746/0.708, allocations: 1.281 MB / 1.426 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.7083, allocations: 27.92 kB / 1.426 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.7084, allocations: 19.06 kB / 1.426 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.259e-06/0.7084, allocations: 4 kB / 1.426 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006416/0.709, allocations: 462.1 kB / 1.427 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.709, allocations: 8 kB / 1.427 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.233e-06/0.7091, allocations: 8 kB / 1.427 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.7094, allocations: 107.6 kB / 1.427 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.7095, allocations: 8 kB / 1.427 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.7097, allocations: 24.39 kB / 1.427 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.7097, allocations: 23.94 kB / 1.427 GB, free: 2.91 MB / 0.8698 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 9.086e-05/0.7098, allocations: 120.7 kB / 1.427 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.7099, allocations: 39.05 kB / 1.427 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.7115, allocations: 0.6372 MB / 1.428 GB, free: 2.219 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7115, allocations: 4 kB / 1.428 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.7115, allocations: 0 / 1.428 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.7115, allocations: 3.984 kB / 1.428 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.7122, allocations: 0.5931 MB / 1.428 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7122, allocations: 4 kB / 1.428 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.7124, allocations: 39.97 kB / 1.428 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.7138, allocations: 366.7 kB / 1.429 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.7138, allocations: 0 / 1.429 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002979/0.7168, allocations: 3.226 MB / 1.432 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.7168, allocations: 0 / 1.432 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001524/0.7183, allocations: 0.8266 MB / 1.433 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.7185, allocations: 143.4 kB / 1.433 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.7185, allocations: 3.906 kB / 1.433 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.7189, allocations: 27.97 kB / 1.433 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.7189, allocations: 7.984 kB / 1.433 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.7189, allocations: 15.06 kB / 1.433 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0001445/0.7191, allocations: 201.1 kB / 1.433 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006002/0.7197, allocations: 166.9 kB / 1.433 GB, free: 12.77 MB / 0.8855 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.0001261/0.7198, allocations: 123.1 kB / 1.433 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.7209, allocations: 0.6987 MB / 1.434 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7209, allocations: 0 / 1.434 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005946/0.7215, allocations: 438 kB / 1.434 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.7219, allocations: 53.83 kB / 1.434 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.7227, allocations: 0.5495 MB / 1.435 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.7231, allocations: 0.8822 MB / 1.436 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.7231, allocations: 3.938 kB / 1.436 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of Templates: time 0.009813/0.733, allocations: 7.183 MB / 1.443 GB, free: 3.145 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches