Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 188.2 kB / 16.92 MB, free: 6.75 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437.8 MB / 0.7128 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.000336, allocations: 16 kB / 0.8735 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7286/0.7289, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02237/0.7513, allocations: 19.49 MB / 1.043 GB, free: 12.35 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.765, allocations: 6.379 MB / 1.049 GB, free: 5.953 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003226/0.7683, allocations: 71.56 kB / 1.049 GB, free: 5.883 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.7702, allocations: 408.8 kB / 1.049 GB, free: 5.48 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004175/0.7744, allocations: 1.112 MB / 1.051 GB, free: 4.363 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003687/0.7781, allocations: 1.076 MB / 1.052 GB, free: 3.289 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008677/0.7868, allocations: 6.979 MB / 1.058 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01266/0.7995, allocations: 7.266 MB / 1.065 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003582/0.8031, allocations: 1.49 MB / 1.067 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003966/0.8071, allocations: 2.032 MB / 1.069 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0009085/0.808, allocations: 180 kB / 1.069 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.8107, allocations: 0.9163 MB / 1.07 GB, free: 324 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002204/0.8129, allocations: 1.348 MB / 1.071 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003594/0.8165, allocations: 1.576 MB / 1.073 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006687/0.8232, allocations: 5.396 MB / 1.078 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8232, allocations: 0 / 1.078 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8232, allocations: 0 / 1.078 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002492/0.8235, allocations: 4 kB / 1.078 GB, free: 7.961 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007366/0.8309, allocations: 2.82 MB / 1.081 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.8309, allocations: 8.031 kB / 1.081 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004016/0.835, allocations: 0.6411 MB / 1.081 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003744/0.8387, allocations: 1.939 MB / 1.083 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.8389, allocations: 222.3 kB / 1.084 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006153/0.8395, allocations: 296.2 kB / 1.084 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008475/0.848, allocations: 4.89 MB / 1.089 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.833e-05/0.8481, allocations: 7.938 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003078/0.8484, allocations: 128 kB / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004264/0.8489, allocations: 229.7 kB / 1.089 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006564/0.8554, allocations: 3.75 MB / 1.093 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0225/0.878, allocations: 21.63 MB / 1.114 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.8797, allocations: 1.304 MB / 1.115 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.8811, allocations: 1.038 MB / 1.116 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.725e-05/0.8812, allocations: 16.98 kB / 1.116 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.8812, allocations: 43.56 kB / 1.116 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 3.717e-06/0.8812, allocations: 0 / 1.116 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138): time 0.02466/0.9059, allocations: 8.719 MB / 1.125 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.906, allocations: 64.72 kB / 1.125 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/0.9078, allocations: 1.13 MB / 1.126 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.908, allocations: 49.7 kB / 1.126 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008694/0.9088, allocations: 1.3 MB / 1.127 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004276/0.9093, allocations: 473.2 kB / 1.128 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.9095, allocations: 133.6 kB / 1.128 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.9096, allocations: 305.1 kB / 1.128 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.9109, allocations: 0.9174 MB / 1.129 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.9125, allocations: 1.326 MB / 1.13 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/0.9157, allocations: 2.418 MB / 1.133 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.9157, allocations: 4 kB / 1.133 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006208/0.9219, allocations: 3.471 MB / 1.136 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.922, allocations: 12 kB / 1.136 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/0.922, allocations: 12 kB / 1.136 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003225/0.9252, allocations: 1.184 MB / 1.137 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009616/0.9262, allocations: 255.6 kB / 1.137 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/0.943, allocations: 12.75 MB / 1.15 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.9446, allocations: 91.97 kB / 1.15 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/0.9449, allocations: 64 kB / 1.15 GB, free: 11.13 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002269/0.9472, allocations: 1.118 MB / 1.151 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004434/0.9476, allocations: 162.1 kB / 1.151 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005922/0.9536, allocations: 3.177 MB / 1.154 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.9536, allocations: 12 kB / 1.154 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.991e-05/0.9536, allocations: 12 kB / 1.154 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.9536, allocations: 11.91 kB / 1.154 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.9645, allocations: 6.245 MB / 1.16 GB, free: 224 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.9645, allocations: 7.938 kB / 1.16 GB, free: 216 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000588/0.9651, allocations: 151.8 kB / 1.161 GB, free: 64 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002943/0.9681, allocations: 1.069 MB / 1.162 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.9682, allocations: 32 kB / 1.162 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/0.9841, allocations: 12.45 MB / 1.174 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.9842, allocations: 7.938 kB / 1.174 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005631/0.9898, allocations: 3.158 MB / 1.177 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00089/0.9907, allocations: 427.1 kB / 1.177 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003478/0.9911, allocations: 24 kB / 1.177 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.9921, allocations: 91.77 kB / 1.177 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000413/0.9926, allocations: 124.7 kB / 1.178 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-05/0.9927, allocations: 36 kB / 1.178 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001234/0.9939, allocations: 0.771 MB / 1.178 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9939, allocations: 0 / 1.178 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0028/0.9967, allocations: 0.6602 MB / 1.179 GB, free: 12.72 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003805/0.9971, allocations: 143 kB / 1.179 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005649/1.003, allocations: 3.135 MB / 1.182 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.003, allocations: 0.75 kB / 1.182 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003328/1.006, allocations: 1.971 MB / 1.184 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/1.01, allocations: 464.7 kB / 1.185 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/1.021, allocations: 7.195 MB / 1.192 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002875/1.024, allocations: 2.379 MB / 1.194 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004459/1.024, allocations: 99.44 kB / 1.194 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of SimCode: time 6.91e-07/1.024, allocations: 4 kB / 1.194 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of Templates: time 0.6706/1.695, allocations: 79.07 MB / 1.271 GB, free: 210.7 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches