Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 387.1 MB / 399.7 MB, free: 9.434 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.001194/0.001194, allocations: 184.8 kB / 492.3 MB, free: 0.5859 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.536/1.536, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008734/0.0008738, allocations: 95.48 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.972e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2938, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.353, allocations: 165.5 MB / 1.374 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004061/1.353, allocations: 91.28 kB / 1.374 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04344/1.397, allocations: 14.7 MB / 1.388 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.864e-06/1.397, allocations: 0 / 1.388 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.835e-05/1.397, allocations: 3.781 kB / 1.388 GB, free: 30.82 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007139/1.397, allocations: 478.4 kB / 1.389 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/1.397, allocations: 15.47 kB / 1.389 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008979/1.398, allocations: 77.91 kB / 1.389 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/1.399, allocations: 244.8 kB / 1.389 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/1.399, allocations: 10.06 kB / 1.389 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/1.399, allocations: 14.38 kB / 1.389 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/1.399, allocations: 297.7 kB / 1.39 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.399, allocations: 0 / 1.39 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/1.399, allocations: 0 / 1.39 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.636e-05/1.399, allocations: 23.23 kB / 1.39 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/1.4, allocations: 231.6 kB / 1.39 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/1.402, allocations: 1.509 MB / 1.391 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/1.402, allocations: 241.2 kB / 1.391 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/1.402, allocations: 117.2 kB / 1.392 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/1.402, allocations: 11.58 kB / 1.392 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/1.403, allocations: 36.94 kB / 1.392 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/1.403, allocations: 4 kB / 1.392 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0005523/1.403, allocations: 224.9 kB / 1.392 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/1.403, allocations: 84.89 kB / 1.392 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/1.403, allocations: 158.9 kB / 1.392 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/1.403, allocations: 25.7 kB / 1.392 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/1.403, allocations: 140.9 kB / 1.392 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/1.404, allocations: 52.75 kB / 1.392 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/1.404, allocations: 3.906 kB / 1.392 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.404, allocations: 328.8 kB / 1.393 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/1.404, allocations: 86.28 kB / 1.393 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/1.404, allocations: 152.1 kB / 1.393 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/1.404, allocations: 114.9 kB / 1.393 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.404, allocations: 0 / 1.393 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000547/1.405, allocations: 273.6 kB / 1.393 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003191/1.405, allocations: 0.7095 MB / 1.394 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.405, allocations: 3.984 kB / 1.394 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/1.405, allocations: 3.719 kB / 1.394 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/1.406, allocations: 61.72 kB / 1.394 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.406, allocations: 7.781 kB / 1.394 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/1.406, allocations: 34.94 kB / 1.394 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/1.406, allocations: 7.688 kB / 1.394 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/1.406, allocations: 3.844 kB / 1.394 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004143/1.406, allocations: 212.1 kB / 1.394 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.406, allocations: 3.906 kB / 1.394 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/1.406, allocations: 7.844 kB / 1.394 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/1.407, allocations: 49.8 kB / 1.394 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/1.407, allocations: 7.781 kB / 1.394 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/1.407, allocations: 30.17 kB / 1.394 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/1.407, allocations: 7.156 kB / 1.394 GB, free: 26.62 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 23 * 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 0.0001157/1.407, allocations: 112.7 kB / 1.394 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/1.407, allocations: 23.48 kB / 1.394 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/1.408, allocations: 245 kB / 1.395 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.408, allocations: 3.812 kB / 1.395 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.408, allocations: 0 / 1.395 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.408, allocations: 0 / 1.395 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/1.409, allocations: 0.6629 MB / 1.395 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.409, allocations: 4 kB / 1.395 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/1.409, allocations: 41.78 kB / 1.395 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/1.409, allocations: 0 / 1.395 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/1.409, allocations: 19.48 kB / 1.395 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.409, allocations: 7.906 kB / 1.395 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.409, allocations: 3.953 kB / 1.395 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/1.41, allocations: 482.8 kB / 1.396 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/1.41, allocations: 115.9 kB / 1.396 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/1.41, allocations: 3.812 kB / 1.396 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/1.41, allocations: 19.59 kB / 1.396 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/1.41, allocations: 18.22 kB / 1.396 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/1.41, allocations: 7.859 kB / 1.396 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001366/1.411, allocations: 139.8 kB / 1.396 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/1.411, allocations: 4 kB / 1.396 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007209/1.411, allocations: 87.5 kB / 1.396 GB, free: 25.34 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0002016/1.412, allocations: 117.5 kB / 1.396 GB, free: 25.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006758/1.412, allocations: 326.4 kB / 1.397 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.412, allocations: 0 / 1.397 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/1.412, allocations: 105.8 kB / 1.397 GB, free: 25.17 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/1.413, allocations: 34.41 kB / 1.397 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/1.414, allocations: 323.5 kB / 1.397 GB, free: 24.97 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/1.414, allocations: 0.7567 MB / 1.398 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003234/1.415, allocations: 75.94 kB / 1.398 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/1.415, allocations: 15.31 kB / 1.398 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.415, allocations: 0 / 1.398 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of Templates: time 0.006842/1.421, allocations: 2.264 MB / 1.4 GB, free: 23.1 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches