Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 116.8 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 196.7 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.785/2.785, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 176] 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.91 kB / 1.057 GB, free: 2.027 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3747, allocations: 160.7 MB / 1.214 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0199/0.3946, allocations: 14.99 MB / 1.229 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.4118, allocations: 10.46 MB / 1.239 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.4135, allocations: 59.62 kB / 1.239 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004986/0.4185, allocations: 1.711 MB / 1.241 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00618/0.4247, allocations: 1.857 MB / 1.242 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.4273, allocations: 0.7598 MB / 1.243 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005116/0.4324, allocations: 2.742 MB / 1.246 GB, free: 300 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.4346, allocations: 1.145 MB / 1.247 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.4375, allocations: 1.531 MB / 1.248 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002689/0.4402, allocations: 1.218 MB / 1.25 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005006/0.4407, allocations: 164 kB / 1.25 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.4428, allocations: 0.8033 MB / 1.251 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008604/0.4437, allocations: 0.6191 MB / 1.251 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001585/0.4453, allocations: 0.96 MB / 1.252 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004675/0.4499, allocations: 2.775 MB / 1.255 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.4499, allocations: 4 kB / 1.255 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4499, allocations: 0 / 1.255 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.464e-05/0.45, allocations: 0 / 1.255 GB, free: 7.012 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005126/0.4552, allocations: 2.226 MB / 1.257 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.4552, allocations: 8.031 kB / 1.257 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/0.4677, allocations: 2.117 MB / 1.259 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/0.4711, allocations: 1.32 MB / 1.26 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.152e-05/0.4712, allocations: 90.69 kB / 1.26 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003675/0.4716, allocations: 116.1 kB / 1.261 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7951/1.267, allocations: 2.674 MB / 1.263 GB, free: 47.45 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.582e-05/1.267, allocations: 9.562 kB / 1.263 GB, free: 47.45 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/1.267, allocations: 54.52 kB / 1.263 GB, free: 47.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006239/1.268, allocations: 192.2 kB / 1.263 GB, free: 47.44 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007858/1.275, allocations: 2.791 MB / 1.266 GB, free: 47.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01786/1.293, allocations: 10.46 MB / 1.276 GB, free: 41.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007783/1.301, allocations: 2.253 MB / 1.279 GB, free: 41.29 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003963/1.305, allocations: 1.203 MB / 1.28 GB, free: 40.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/1.305, allocations: 12.53 kB / 1.28 GB, free: 40.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/1.305, allocations: 48.72 kB / 1.28 GB, free: 40.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 2.676e-06/1.305, allocations: 0 / 1.28 GB, free: 40.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153): time 0.06568/1.371, allocations: 16.45 MB / 1.296 GB, free: 37.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/1.371, allocations: 68.39 kB / 1.296 GB, free: 37.04 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/1.373, allocations: 1.179 MB / 1.297 GB, free: 36.58 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003636/1.373, allocations: 51.42 kB / 1.297 GB, free: 36.53 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005223/1.374, allocations: 0.7564 MB / 1.298 GB, free: 35.99 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005954/1.374, allocations: 0.5416 MB / 1.298 GB, free: 35.63 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006681/1.375, allocations: 289.1 kB / 1.299 GB, free: 35.51 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.476e-05/1.375, allocations: 306.1 kB / 1.299 GB, free: 35.21 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003941/1.379, allocations: 1.516 MB / 1.3 GB, free: 34.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004106/1.383, allocations: 1.775 MB / 1.302 GB, free: 34.01 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007706/1.391, allocations: 3.375 MB / 1.306 GB, free: 32.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/1.391, allocations: 1.25 kB / 1.306 GB, free: 32.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01373/1.404, allocations: 5.212 MB / 1.311 GB, free: 30.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/1.404, allocations: 10.44 kB / 1.311 GB, free: 30.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/1.404, allocations: 7.844 kB / 1.311 GB, free: 30.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00702/1.411, allocations: 1.882 MB / 1.312 GB, free: 29.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/1.414, allocations: 411.8 kB / 1.313 GB, free: 29.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02685/1.44, allocations: 24.15 MB / 1.336 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/1.443, allocations: 308.2 kB / 1.337 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/1.444, allocations: 68.97 kB / 1.337 GB, free: 9.723 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009458/1.445, allocations: 459.8 kB / 1.337 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003951/1.445, allocations: 187.2 kB / 1.337 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/1.458, allocations: 5.255 MB / 1.343 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/1.458, allocations: 13.34 kB / 1.343 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.743e-05/1.458, allocations: 26.91 kB / 1.343 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/1.458, allocations: 9.141 kB / 1.343 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/1.474, allocations: 7.349 MB / 1.35 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.474, allocations: 2.156 kB / 1.35 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/1.476, allocations: 353.6 kB / 1.35 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005795/1.481, allocations: 1.71 MB / 1.352 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002998/1.482, allocations: 51.89 kB / 1.352 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03243/1.514, allocations: 23.33 MB / 1.375 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.514, allocations: 4 kB / 1.375 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01362/1.528, allocations: 4.829 MB / 1.379 GB, free: 2.391 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.529, allocations: 0.4958 MB / 1.38 GB, free: 1.875 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/1.529, allocations: 24 kB / 1.38 GB, free: 1.852 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002285/1.532, allocations: 323.5 kB / 1.38 GB, free: 1.535 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005741/1.532, allocations: 149 kB / 1.38 GB, free: 1.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/1.532, allocations: 51.97 kB / 1.38 GB, free: 1.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001217/1.534, allocations: 0.7899 MB / 1.381 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/1.534, allocations: 0 / 1.381 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002439/1.536, allocations: 0.6563 MB / 1.382 GB, free: 15.89 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003268/1.536, allocations: 146.6 kB / 1.382 GB, free: 15.75 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01259/1.549, allocations: 4.92 MB / 1.387 GB, free: 10.72 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.549, allocations: 0 / 1.387 GB, free: 10.72 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.008029/1.557, allocations: 3.272 MB / 1.39 GB, free: 7.344 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/1.56, allocations: 0.5585 MB / 1.39 GB, free: 6.816 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/1.57, allocations: 4.468 MB / 1.395 GB, free: 2.297 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/1.572, allocations: 1.568 MB / 1.396 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000697/1.572, allocations: 127.3 kB / 1.396 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of SimCode: time 1.232e-06/1.572, allocations: 0 / 1.396 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of Templates: time 0.1056/1.678, allocations: 85.92 MB / 1.48 GB, free: 10.74 MB / 1.139 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.513866896973923]