Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [: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.687/1.687, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0008597/0.0008597, allocations: 181.3 kB / 490.8 MB, free: 1.945 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.057/1.057, allocations: 221.4 MB / 0.7863 GB, free: 13.66 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.0007945/0.0007945, allocations: 92.66 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.59e-06/5.68e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1691, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4637/0.6329, allocations: 168.6 MB / 1.376 GB, free: 17.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.6331, allocations: 92.8 kB / 1.376 GB, free: 17.11 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02604/0.6592, allocations: 12.66 MB / 1.389 GB, free: 13.68 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.6592, allocations: 3.531 kB / 1.389 GB, free: 13.68 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005127/0.6597, allocations: 449.7 kB / 1.389 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.6598, allocations: 11.41 kB / 1.389 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005525/0.6603, allocations: 67.28 kB / 1.389 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.6606, allocations: 229.2 kB / 1.389 GB, free: 29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.6606, allocations: 8.125 kB / 1.389 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.6607, allocations: 8.906 kB / 1.389 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002833/0.661, allocations: 155.8 kB / 1.39 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.6613, allocations: 265.7 kB / 1.39 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.6613, allocations: 4.875 kB / 1.39 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.6614, allocations: 1.375 kB / 1.39 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.6614, allocations: 15.72 kB / 1.39 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.6628, allocations: 1.622 MB / 1.391 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.448e-05/0.6628, allocations: 78.23 kB / 1.392 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.6629, allocations: 46.84 kB / 1.392 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.6629, allocations: 9 kB / 1.392 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.6629, allocations: 31.84 kB / 1.392 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.663, allocations: 0 / 1.392 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0003731/0.6633, allocations: 177.8 kB / 1.392 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.708e-05/0.6634, allocations: 83.89 kB / 1.392 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.6635, allocations: 192.2 kB / 1.392 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.6635, allocations: 29.8 kB / 1.392 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.6636, allocations: 159.8 kB / 1.392 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.6636, allocations: 32.33 kB / 1.392 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/0.6636, allocations: 0 / 1.392 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.6637, allocations: 324.6 kB / 1.393 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.918e-05/0.6638, allocations: 72.31 kB / 1.393 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.664, allocations: 162 kB / 1.393 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.6641, allocations: 102.5 kB / 1.393 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6641, allocations: 1.438 kB / 1.393 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003672/0.6645, allocations: 270.9 kB / 1.393 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002683/0.6648, allocations: 1.128 MB / 1.394 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6648, allocations: 1.781 kB / 1.394 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.6648, allocations: 5.031 kB / 1.394 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.665, allocations: 56.84 kB / 1.394 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.6651, allocations: 8.188 kB / 1.394 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.6653, allocations: 17.05 kB / 1.394 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.6653, allocations: 8.906 kB / 1.394 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/0.6653, allocations: 3.125 kB / 1.394 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002881/0.6656, allocations: 198.8 kB / 1.395 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.6656, allocations: 2.562 kB / 1.395 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/0.6656, allocations: 4.875 kB / 1.395 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.6658, allocations: 51.97 kB / 1.395 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.6658, allocations: 12.61 kB / 1.395 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.6659, allocations: 8.5 kB / 1.395 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.6659, allocations: 13.55 kB / 1.395 GB, free: 24.9 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 prepare postOptimizeDAE: time 6.59e-05/0.666, allocations: 118.1 kB / 1.395 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.6661, allocations: 14.06 kB / 1.395 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.6662, allocations: 111.4 kB / 1.395 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.6662, allocations: 5.578 kB / 1.395 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6662, allocations: 0.7812 kB / 1.395 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6663, allocations: 1.062 kB / 1.395 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005135/0.6668, allocations: 0.5796 MB / 1.395 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6668, allocations: 1.938 kB / 1.395 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-05/0.6669, allocations: 16.73 kB / 1.395 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.6669, allocations: 3.406 kB / 1.395 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.6669, allocations: 2.312 kB / 1.395 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.6669, allocations: 6.094 kB / 1.395 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.6669, allocations: 5.844 kB / 1.395 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001791/0.6671, allocations: 339.7 kB / 1.396 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.6671, allocations: 103.8 kB / 1.396 GB, free: 23.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.6672, allocations: 6.734 kB / 1.396 GB, free: 23.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.6673, allocations: 9.156 kB / 1.396 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.6674, allocations: 14.97 kB / 1.396 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.6674, allocations: 3.906 kB / 1.396 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001104/0.6675, allocations: 164.7 kB / 1.396 GB, free: 23.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004168/0.6679, allocations: 76.81 kB / 1.396 GB, free: 23.68 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001142/0.668, allocations: 113.4 kB / 1.396 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.6683, allocations: 271 kB / 1.396 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6683, allocations: 0 / 1.396 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.99e-05/0.6684, allocations: 43.8 kB / 1.397 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.6686, allocations: 31.8 kB / 1.397 GB, free: 23.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.6691, allocations: 269.4 kB / 1.397 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.6694, allocations: 0.7585 MB / 1.398 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.6694, allocations: 0 / 1.398 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of Templates: time 0.004668/0.674, allocations: 2.477 MB / 1.4 GB, free: 21.4 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches