Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006671/0.006671, allocations: 99.44 kB / 15.73 MB, free: 6.008 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.001392/0.001392, allocations: 192.3 kB / 16.67 MB, free: 5.926 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.386/2.386, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 67.89 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9532/0.9547, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006741/0.9615, allocations: 5.543 MB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004806/0.9664, allocations: 2.643 MB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006054/0.967, allocations: 25.16 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.9691, allocations: 0.6816 MB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.9706, allocations: 429.7 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.972, allocations: 402.7 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00178/0.9738, allocations: 0.9607 MB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008463/0.9747, allocations: 469.8 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008065/0.9755, allocations: 381.6 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006467/0.9761, allocations: 400.9 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.9763, allocations: 47.72 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.9773, allocations: 363.3 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003683/0.9777, allocations: 256.2 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004426/0.9781, allocations: 349.4 kB / 1.101 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.9799, allocations: 0.9755 MB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.9799, allocations: 0 / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.083e-06/0.9799, allocations: 4.812 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.9799, allocations: 0 / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001946/0.9819, allocations: 0.9968 MB / 1.102 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.9819, allocations: 9.656 kB / 1.102 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.9836, allocations: 194.9 kB / 1.103 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.9847, allocations: 0.538 MB / 1.103 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.9848, allocations: 38.03 kB / 1.103 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.985, allocations: 56.73 kB / 1.103 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.9864, allocations: 0.8343 MB / 1.104 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.9865, allocations: 10.89 kB / 1.104 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.759e-05/0.9865, allocations: 19.88 kB / 1.104 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002222/0.9868, allocations: 67.33 kB / 1.104 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009881/0.9878, allocations: 0.5768 MB / 1.105 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005114/0.9929, allocations: 4.568 MB / 1.109 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.9936, allocations: 298 kB / 1.109 GB, free: 7.418 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004534/0.9941, allocations: 231.1 kB / 1.11 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.9941, allocations: 4.219 kB / 1.11 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.9942, allocations: 33.39 kB / 1.11 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-05/0.9942, allocations: 0 / 1.11 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.006817/1.001, allocations: 2.641 MB / 1.112 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/1.001, allocations: 55.98 kB / 1.112 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006988/1.002, allocations: 476.6 kB / 1.113 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/1.002, allocations: 36.3 kB / 1.113 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/1.002, allocations: 343.4 kB / 1.113 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/1.002, allocations: 153.7 kB / 1.113 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/1.003, allocations: 106.2 kB / 1.113 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001893/1.003, allocations: 360.3 kB / 1.114 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/1.003, allocations: 238.2 kB / 1.114 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/1.004, allocations: 405.8 kB / 1.114 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000947/1.005, allocations: 0.6768 MB / 1.115 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.005, allocations: 5.125 kB / 1.115 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001934/1.007, allocations: 0.9241 MB / 1.116 GB, free: 3.551 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/1.007, allocations: 8.031 kB / 1.116 GB, free: 3.551 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/1.007, allocations: 6.031 kB / 1.116 GB, free: 3.551 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008456/1.008, allocations: 223.7 kB / 1.116 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/1.008, allocations: 123.1 kB / 1.116 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006029/1.014, allocations: 5.335 MB / 1.121 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006359/1.015, allocations: 34.36 kB / 1.122 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/1.015, allocations: 22.47 kB / 1.122 GB, free: 14.79 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004501/1.015, allocations: 222.1 kB / 1.122 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/1.016, allocations: 64.16 kB / 1.122 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/1.017, allocations: 0.7745 MB / 1.123 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/1.017, allocations: 8.516 kB / 1.123 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.017, allocations: 3.312 kB / 1.123 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/1.017, allocations: 10.23 kB / 1.123 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/1.02, allocations: 1.503 MB / 1.124 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/1.021, allocations: 2.75 kB / 1.124 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/1.021, allocations: 63.44 kB / 1.124 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007959/1.022, allocations: 211.3 kB / 1.124 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.585e-05/1.022, allocations: 12.56 kB / 1.124 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005388/1.027, allocations: 5.273 MB / 1.129 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.027, allocations: 2.094 kB / 1.129 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/1.029, allocations: 1.14 MB / 1.131 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004125/1.03, allocations: 171.2 kB / 1.131 GB, free: 7.992 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/1.03, allocations: 18.97 kB / 1.131 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005548/1.03, allocations: 27.42 kB / 1.131 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/1.031, allocations: 35.7 kB / 1.131 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/1.031, allocations: 13 kB / 1.131 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006674/1.031, allocations: 315.7 kB / 1.131 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.31e-07/1.031, allocations: 0 / 1.131 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001074/1.032, allocations: 167.2 kB / 1.131 GB, free: 7.797 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002062/1.033, allocations: 114.2 kB / 1.131 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001993/1.035, allocations: 1.009 MB / 1.132 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/1.035, allocations: 1.438 kB / 1.132 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/1.036, allocations: 0.689 MB / 1.133 GB, free: 6.645 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/1.037, allocations: 177.5 kB / 1.133 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/1.04, allocations: 1.271 MB / 1.135 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007152/1.041, allocations: 0.9558 MB / 1.135 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000458/1.041, allocations: 121.9 kB / 1.136 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/1.041, allocations: 40.61 kB / 1.136 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of SimCode: time 5.92e-07/1.041, allocations: 1.156 kB / 1.136 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of Templates: time 0.0265/1.068, allocations: 8.968 MB / 1.144 GB, free: 4.23 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches