Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [: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.394/1.394, allocations: 249.4 MB / 256.7 MB, free: 6.957 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.001084/0.001084, allocations: 181.1 kB / 316 MB, free: 3.527 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.566/1.566, 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.00099/0.0009899, allocations: 90.05 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.547e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2286, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6467/0.8753, allocations: 162.2 MB / 1.043 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.8756, allocations: 94.25 kB / 1.043 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.04536/0.921, allocations: 18.79 MB / 1.061 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.921, allocations: 11.98 kB / 1.061 GB, free: 10.62 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009232/0.922, allocations: 0.5449 MB / 1.062 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.922, allocations: 12.03 kB / 1.062 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009189/0.9229, allocations: 106.9 kB / 1.062 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.9234, allocations: 281 kB / 1.062 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.9235, allocations: 4 kB / 1.062 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.556e-05/0.9235, allocations: 23.38 kB / 1.062 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004221/0.924, allocations: 271.7 kB / 1.063 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.9245, allocations: 397.7 kB / 1.063 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.9245, allocations: 3.984 kB / 1.063 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.9246, allocations: 8 kB / 1.063 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.683e-05/0.9246, allocations: 28.11 kB / 1.063 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.927, allocations: 2.153 MB / 1.065 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.9273, allocations: 255.2 kB / 1.065 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.9275, allocations: 157 kB / 1.066 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.9275, allocations: 4.188 kB / 1.066 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.9276, allocations: 30.75 kB / 1.066 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 1.924e-06/0.9276, allocations: 0 / 1.066 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.001257/0.9288, allocations: 0.8075 MB / 1.066 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.9289, allocations: 55.41 kB / 1.066 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.9291, allocations: 201.4 kB / 1.067 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.9291, allocations: 25.7 kB / 1.067 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.9292, allocations: 171.8 kB / 1.067 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.9293, allocations: 86.38 kB / 1.067 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.9293, allocations: 0 / 1.067 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.9294, allocations: 334.6 kB / 1.067 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.9296, allocations: 148.7 kB / 1.067 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.9299, allocations: 213.2 kB / 1.068 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.9302, allocations: 199.8 kB / 1.068 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.9302, allocations: 0 / 1.068 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001066/0.9313, allocations: 0.5519 MB / 1.068 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.9313, allocations: 6.188 kB / 1.068 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.9313, allocations: 0 / 1.068 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006337/0.932, allocations: 187.8 kB / 1.068 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.9323, allocations: 58.66 kB / 1.069 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.9347, allocations: 2.143 MB / 1.071 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.935, allocations: 7.984 kB / 1.071 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.9351, allocations: 15.19 kB / 1.071 GB, free: 2.035 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.9352, allocations: 116.9 kB / 1.071 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.9352, allocations: 23.92 kB / 1.071 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004846/0.9357, allocations: 346.2 kB / 1.071 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.9358, allocations: 11.84 kB / 1.071 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.9358, allocations: 0 / 1.071 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.9358, allocations: 0 / 1.071 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009377/0.9367, allocations: 0.7566 MB / 1.072 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.9367, allocations: 4 kB / 1.072 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.9371, allocations: 71.94 kB / 1.072 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.9372, allocations: 0 / 1.072 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.9372, allocations: 7.5 kB / 1.072 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.9372, allocations: 0 / 1.072 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9372, allocations: 3.938 kB / 1.072 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006819/0.9379, allocations: 0.6248 MB / 1.073 GB, free: 384 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.9381, allocations: 128.2 kB / 1.073 GB, free: 248 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.9381, allocations: 7.984 kB / 1.073 GB, free: 240 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.9383, allocations: 4 kB / 1.073 GB, free: 236 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.9384, allocations: 18.92 kB / 1.073 GB, free: 220 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.9384, allocations: 4 kB / 1.073 GB, free: 216 kB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001311/0.9385, allocations: 161.8 kB / 1.073 GB, free: 80 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004463/0.939, allocations: 86.72 kB / 1.073 GB, free: 15.99 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001884/0.9392, allocations: 115.1 kB / 1.073 GB, free: 15.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008459/0.94, allocations: 0.4907 MB / 1.074 GB, free: 15.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.94, allocations: 0 / 1.074 GB, free: 15.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.9402, allocations: 149.3 kB / 1.074 GB, free: 15.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.9406, allocations: 41.3 kB / 1.074 GB, free: 15.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.942, allocations: 0.6921 MB / 1.074 GB, free: 14.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004818/0.9425, allocations: 0.8255 MB / 1.075 GB, free: 13.85 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/0.9425, allocations: 0 / 1.075 GB, free: 13.85 MB / 0.698 GB Notification: Performance of Templates: time 0.007761/0.9502, allocations: 3.999 MB / 1.079 GB, free: 9.887 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches