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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001177, allocations: 106.6 kB / 16.27 MB, free: 6.414 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.001126/0.001126, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 390.3 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.52 kB / 0.8132 GB, free: 33.2 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2723, allocations: 140.4 MB / 0.9503 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004055/0.2764, allocations: 2.646 MB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.2784, allocations: 1.321 MB / 0.9542 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.018e-05/0.2785, allocations: 4 kB / 0.9542 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.2792, allocations: 179.2 kB / 0.9543 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.2795, allocations: 163.3 kB / 0.9545 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.2799, allocations: 167.6 kB / 0.9546 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.2802, allocations: 259.2 kB / 0.9549 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.2805, allocations: 141.4 kB / 0.955 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.2806, allocations: 103.6 kB / 0.9551 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.2809, allocations: 127.5 kB / 0.9552 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.2809, allocations: 12 kB / 0.9553 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.2812, allocations: 151.7 kB / 0.9554 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.268e-05/0.2812, allocations: 63.86 kB / 0.9555 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.299e-05/0.2813, allocations: 95.47 kB / 0.9556 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.2817, allocations: 287.4 kB / 0.9558 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2817, allocations: 4 kB / 0.9558 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2817, allocations: 0 / 0.9558 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2817, allocations: 0 / 0.9558 GB, free: 3.117 MB / 0.7325 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.0007496/0.2824, allocations: 496.2 kB / 0.9563 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2825, allocations: 12.03 kB / 0.9563 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004878/0.283, allocations: 68.58 kB / 0.9564 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.2832, allocations: 243.9 kB / 0.9566 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.2833, allocations: 12.59 kB / 0.9566 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.2833, allocations: 24.3 kB / 0.9567 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.2838, allocations: 308.7 kB / 0.9569 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2838, allocations: 0 / 0.9569 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.2838, allocations: 7.938 kB / 0.957 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/0.2839, allocations: 32.25 kB / 0.957 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004628/0.2843, allocations: 256.6 kB / 0.9572 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.2858, allocations: 1.498 MB / 0.9587 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.2863, allocations: 261 kB / 0.9589 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.2865, allocations: 121.6 kB / 0.9591 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.2865, allocations: 4 kB / 0.9591 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.2866, allocations: 42.56 kB / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.2866, allocations: 0 / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0007085/0.2873, allocations: 333.2 kB / 0.9594 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.2874, allocations: 93.17 kB / 0.9595 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.2875, allocations: 171.2 kB / 0.9597 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.2875, allocations: 33.7 kB / 0.9597 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.2876, allocations: 140 kB / 0.9598 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.2877, allocations: 55.23 kB / 0.9599 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.673e-05/0.2877, allocations: 49.59 kB / 0.9599 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2878, allocations: 330.8 kB / 0.9603 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.2881, allocations: 104.8 kB / 0.9604 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.2883, allocations: 169.7 kB / 0.9605 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.2887, allocations: 281.3 kB / 0.9608 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.2888, allocations: 4 kB / 0.9608 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005251/0.2893, allocations: 301.3 kB / 0.9611 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2893, allocations: 7.938 kB / 0.9611 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2893, allocations: 4 kB / 0.9611 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2893, allocations: 4 kB / 0.9611 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.2896, allocations: 51.95 kB / 0.9611 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2896, allocations: 8.156 kB / 0.9611 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.2899, allocations: 43.72 kB / 0.9612 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.2899, allocations: 4 kB / 0.9612 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002522/0.2901, allocations: 199.5 kB / 0.9614 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002052/0.2904, allocations: 152.5 kB / 0.9615 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003749/0.2907, allocations: 251.5 kB / 0.9618 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.2907, allocations: 0 / 0.9618 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004604/0.2912, allocations: 272.1 kB / 0.962 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.2912, allocations: 12 kB / 0.962 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.2912, allocations: 3.938 kB / 0.962 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/0.2913, allocations: 8 kB / 0.9621 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.2915, allocations: 59.89 kB / 0.9621 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.2915, allocations: 0 / 0.9621 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.2916, allocations: 27.83 kB / 0.9621 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.2917, allocations: 8 kB / 0.9621 GB, free: 12.18 MB / 0.7481 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.0001129/0.2918, allocations: 200.1 kB / 0.9623 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.2919, allocations: 15.81 kB / 0.9623 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000518/0.2924, allocations: 263 kB / 0.9626 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.2924, allocations: 7.984 kB / 0.9626 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.2924, allocations: 0 / 0.9626 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2924, allocations: 11.86 kB / 0.9626 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009905/0.2934, allocations: 0.6772 MB / 0.9633 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2934, allocations: 0 / 0.9633 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.2937, allocations: 47.89 kB / 0.9633 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2937, allocations: 4 kB / 0.9633 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.2937, allocations: 11.92 kB / 0.9633 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.2937, allocations: 4 kB / 0.9633 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2937, allocations: 4.125 kB / 0.9633 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/0.2942, allocations: 453.8 kB / 0.9638 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.371e-05/0.2943, allocations: 108.9 kB / 0.9639 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.2944, allocations: 15.84 kB / 0.9639 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.2946, allocations: 15.97 kB / 0.9639 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.2946, allocations: 19.92 kB / 0.9639 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2946, allocations: 4 kB / 0.9639 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.665e-05/0.2947, allocations: 131.2 kB / 0.9641 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2948, allocations: 3.938 kB / 0.9641 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004532/0.2952, allocations: 83.84 kB / 0.9641 GB, free: 10 MB / 0.7481 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.0001158/0.2953, allocations: 99.25 kB / 0.9642 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006848/0.296, allocations: 382.9 kB / 0.9646 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.296, allocations: 4.062 kB / 0.9646 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.2963, allocations: 111.8 kB / 0.9647 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.2967, allocations: 51.69 kB / 0.9648 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007609/0.2975, allocations: 480.4 kB / 0.9652 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.2978, allocations: 0.7478 MB / 0.966 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.467e-05/0.2979, allocations: 15.44 kB / 0.966 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of SimCode: time 3.4e-07/0.2979, allocations: 4 kB / 0.966 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of Templates: time 0.004233/0.3022, allocations: 2.583 MB / 0.9685 GB, free: 5.477 MB / 0.7481 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches