Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 115.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 195.4 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.831/2.831, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.88 kB / 0.8688 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8889/0.8909, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004481/0.8954, allocations: 2.699 MB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002295/0.8977, allocations: 1.313 MB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.8979, allocations: 7.938 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006884/0.8986, allocations: 163.5 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.899, allocations: 155.4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.8994, allocations: 151.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000334/0.8997, allocations: 259.2 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.9001, allocations: 157.4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.9003, allocations: 103.6 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.9006, allocations: 131.5 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.9006, allocations: 20 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.9009, allocations: 147.7 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.901, allocations: 67.8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.9011, allocations: 91.53 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.9015, allocations: 305 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.9015, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.825e-06/0.9016, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.9016, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 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.00103/0.9026, allocations: 495 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.9027, allocations: 12.03 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005335/0.9032, allocations: 76.56 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.9035, allocations: 241.8 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.9035, allocations: 4.656 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.9036, allocations: 20.25 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005762/0.9042, allocations: 308.9 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.9042, allocations: 7.938 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.9042, allocations: 7.984 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.9043, allocations: 28.27 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005277/0.9048, allocations: 256.6 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.9066, allocations: 1.502 MB / 1.025 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.9072, allocations: 253.1 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.9074, allocations: 137.6 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.9074, allocations: 3.984 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.9075, allocations: 34.56 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.9075, allocations: 4 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0007858/0.9083, allocations: 346.5 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.9084, allocations: 77.11 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.9086, allocations: 179.2 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.9086, allocations: 33.64 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.9087, allocations: 147.9 kB / 1.026 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.9088, allocations: 43.36 kB / 1.026 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.326e-05/0.9089, allocations: 53.73 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.9091, allocations: 326.8 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.9093, allocations: 108.8 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.9096, allocations: 167.6 kB / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.9101, allocations: 278.6 kB / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9101, allocations: 0 / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005842/0.9107, allocations: 310.4 kB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.9107, allocations: 4.219 kB / 1.028 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.9107, allocations: 8 kB / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.9107, allocations: 0 / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.911, allocations: 55.95 kB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.911, allocations: 7.938 kB / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.9112, allocations: 27.81 kB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.9113, allocations: 12 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002809/0.9116, allocations: 196 kB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002501/0.9118, allocations: 154.1 kB / 1.028 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004235/0.9122, allocations: 256.8 kB / 1.028 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-06/0.9123, allocations: 0 / 1.028 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005101/0.9128, allocations: 278 kB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.9128, allocations: 8 kB / 1.029 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.9128, allocations: 3.938 kB / 1.029 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-06/0.9128, allocations: 4 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.913, allocations: 51.91 kB / 1.029 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.9131, allocations: 4.25 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.9132, allocations: 31.91 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.9133, allocations: 8 kB / 1.029 GB, free: 6.07 MB / 0.7794 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.9134, allocations: 192.1 kB / 1.029 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.9135, allocations: 15.81 kB / 1.029 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005671/0.914, allocations: 271.4 kB / 1.029 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.9141, allocations: 7.938 kB / 1.029 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.9141, allocations: 4 kB / 1.029 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9141, allocations: 0 / 1.029 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.9152, allocations: 0.6771 MB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.9152, allocations: 7.938 kB / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.9154, allocations: 52.02 kB / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.9154, allocations: 0 / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.9155, allocations: 7.938 kB / 1.03 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.9155, allocations: 0 / 1.03 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.9155, allocations: 4 kB / 1.03 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.9161, allocations: 450.9 kB / 1.03 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.9162, allocations: 120.9 kB / 1.03 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.9162, allocations: 3.938 kB / 1.03 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.9165, allocations: 23.97 kB / 1.03 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.9165, allocations: 15.97 kB / 1.031 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.9165, allocations: 8 kB / 1.031 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001314/0.9167, allocations: 143.1 kB / 1.031 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9167, allocations: 0 / 1.031 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004778/0.9172, allocations: 79.84 kB / 1.031 GB, free: 3.891 MB / 0.7794 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001373/0.9173, allocations: 103.2 kB / 1.031 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007767/0.9181, allocations: 386.2 kB / 1.031 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9181, allocations: 0 / 1.031 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.9184, allocations: 117 kB / 1.031 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.9189, allocations: 48.58 kB / 1.031 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/0.9197, allocations: 0.5061 MB / 1.032 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.9201, allocations: 0.748 MB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002124/0.9203, allocations: 77.45 kB / 1.033 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.9204, allocations: 19.44 kB / 1.033 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.9204, allocations: 0 / 1.033 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.00575/0.9262, allocations: 2.238 MB / 1.035 GB, free: 15.61 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches