Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002184/0.002184, allocations: 200 kB / 16.26 MB, free: 6.625 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.509/1.509, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.367/2.367, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00244/0.00244, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6993/0.7017, allocations: 140.4 MB / 0.9491 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0329/0.7347, allocations: 30.5 MB / 0.9789 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02285/0.7576, allocations: 13.46 MB / 0.992 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004446/0.7621, allocations: 131.2 kB / 0.9922 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.009341/0.7715, allocations: 2.974 MB / 0.9951 GB, free: 2.887 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009926/0.7814, allocations: 2.467 MB / 0.9975 GB, free: 420 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006452/0.7879, allocations: 1.836 MB / 0.9993 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01213/0.8, allocations: 7.642 MB / 1.007 GB, free: 6.91 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0183/0.8184, allocations: 9.94 MB / 1.016 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007323/0.8258, allocations: 3.462 MB / 1.02 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006713/0.8325, allocations: 3.528 MB / 1.023 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002632/0.8352, allocations: 0.5938 MB / 1.024 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004836/0.84, allocations: 1.498 MB / 1.025 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003935/0.844, allocations: 2.37 MB / 1.028 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.005933/0.85, allocations: 2.875 MB / 1.03 GB, free: 14.49 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01383/0.8638, allocations: 9.484 MB / 1.04 GB, free: 4.98 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.8639, allocations: 0 / 1.04 GB, free: 4.98 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8639, allocations: 3.938 kB / 1.04 GB, free: 4.977 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003854/0.8643, allocations: 0 / 1.04 GB, free: 4.977 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01773/0.882, allocations: 5.136 MB / 1.045 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.8821, allocations: 12.03 kB / 1.045 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007187/0.8893, allocations: 1.002 MB / 1.046 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007014/0.8963, allocations: 2.892 MB / 1.049 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000375/0.8968, allocations: 320.8 kB / 1.049 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001935/0.8987, allocations: 424 kB / 1.049 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/0.9158, allocations: 6.787 MB / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002064/0.9161, allocations: 23.78 kB / 1.056 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00119/0.9173, allocations: 188 kB / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009613/0.9182, allocations: 372 kB / 1.056 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.929, allocations: 5.114 MB / 1.061 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03637/0.9654, allocations: 30.73 MB / 1.091 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.9676, allocations: 1.383 MB / 1.093 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.9695, allocations: 1.335 MB / 1.094 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.9696, allocations: 13.31 kB / 1.094 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.9697, allocations: 43.88 kB / 1.094 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=130): time 3.336e-06/0.9697, allocations: 0 / 1.094 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of matching and sorting (n=199): time 0.08791/1.058, allocations: 23.08 MB / 1.117 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/1.058, allocations: 69.41 kB / 1.117 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/1.061, allocations: 2.058 MB / 1.119 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002627/1.061, allocations: 65.64 kB / 1.119 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/1.062, allocations: 2.01 MB / 1.121 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006446/1.063, allocations: 0.6855 MB / 1.121 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007326/1.064, allocations: 408.1 kB / 1.122 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.064, allocations: 305.1 kB / 1.122 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/1.066, allocations: 1.433 MB / 1.124 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/1.068, allocations: 2.01 MB / 1.125 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004717/1.073, allocations: 3.692 MB / 1.129 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/1.073, allocations: 4 kB / 1.129 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01147/1.085, allocations: 5.657 MB / 1.135 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/1.085, allocations: 12 kB / 1.135 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/1.085, allocations: 20 kB / 1.135 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007083/1.092, allocations: 2.095 MB / 1.137 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.094, allocations: 379.4 kB / 1.137 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04288/1.136, allocations: 38.46 MB / 1.175 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002832/1.139, allocations: 127.9 kB / 1.175 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005088/1.14, allocations: 95.98 kB / 1.175 GB, free: 3.965 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003231/1.143, allocations: 1.504 MB / 1.176 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009876/1.144, allocations: 284.6 kB / 1.177 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.155, allocations: 5.212 MB / 1.182 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/1.155, allocations: 24.22 kB / 1.182 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.473e-05/1.156, allocations: 19.98 kB / 1.182 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.697e-05/1.156, allocations: 7.969 kB / 1.182 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01936/1.175, allocations: 9.677 MB / 1.191 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/1.175, allocations: 8 kB / 1.191 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008667/1.176, allocations: 219.6 kB / 1.191 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00603/1.182, allocations: 1.854 MB / 1.193 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000321/1.182, allocations: 40 kB / 1.193 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03871/1.221, allocations: 37.47 MB / 1.23 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.221, allocations: 8 kB / 1.23 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.231, allocations: 4.917 MB / 1.235 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/1.233, allocations: 0.6147 MB / 1.235 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006982/1.234, allocations: 44 kB / 1.235 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.235, allocations: 127.8 kB / 1.235 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006916/1.236, allocations: 193.5 kB / 1.236 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000174/1.236, allocations: 60 kB / 1.236 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00227/1.238, allocations: 1.378 MB / 1.237 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.239, allocations: 0 / 1.237 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003771/1.242, allocations: 1.051 MB / 1.238 GB, free: 208 kB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003503/1.243, allocations: 163 kB / 1.238 GB, free: 32 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.255, allocations: 7.221 MB / 1.245 GB, free: 8.574 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/1.255, allocations: 4 kB / 1.245 GB, free: 8.57 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.006651/1.261, allocations: 4.395 MB / 1.25 GB, free: 3.949 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004618/1.266, allocations: 0.9905 MB / 1.25 GB, free: 2.992 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5664/1.832, allocations: 10.06 MB / 1.26 GB, free: 269.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005488/1.838, allocations: 3.127 MB / 1.263 GB, free: 268.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002491/1.84, allocations: 0.5257 MB / 1.264 GB, free: 268.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005393/1.841, allocations: 145.4 kB / 1.264 GB, free: 268.7 MB / 1.014 GB Notification: Performance of SimCode: time 1.122e-06/1.841, allocations: 2.312 kB / 1.264 GB, free: 268.7 MB / 1.014 GB Notification: Performance of Templates: time 0.09161/1.933, allocations: 60.5 MB / 1.323 GB, free: 233.4 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches