Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 157.3 kB / 23.55 MB, free: 0.8672 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.051/3.051, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.08e-05, allocations: 8.781 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02134/0.02137, allocations: 14.15 MB / 0.8246 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0174/0.03877, allocations: 9.545 MB / 0.8339 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.04043, allocations: 91.69 kB / 0.834 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.005055/0.04548, allocations: 1.723 MB / 0.8357 GB, free: 8.602 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005079/0.05056, allocations: 1.624 MB / 0.8373 GB, free: 6.984 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.05298, allocations: 0.7559 MB / 0.838 GB, free: 6.227 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004121/0.0571, allocations: 2.609 MB / 0.8406 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.05912, allocations: 1.184 MB / 0.8417 GB, free: 2.391 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002747/0.06186, allocations: 1.59 MB / 0.8433 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.06361, allocations: 0.9973 MB / 0.8443 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.000293/0.0639, allocations: 160 kB / 0.8444 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.06574, allocations: 0.7365 MB / 0.8451 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0007779/0.06652, allocations: 0.6543 MB / 0.8458 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0009648/0.06748, allocations: 0.6391 MB / 0.8464 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.004352/0.07184, allocations: 2.788 MB / 0.8491 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.07184, allocations: 0 / 0.8491 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.295e-06/0.07184, allocations: 4 kB / 0.8491 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.003e-05/0.0719, allocations: 0 / 0.8491 GB, free: 10.8 MB / 0.8073 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.005048/0.07695, allocations: 2.33 MB / 0.8514 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.07699, allocations: 12.03 kB / 0.8514 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.08747, allocations: 1.778 MB / 0.8532 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00328/0.09075, allocations: 1.218 MB / 0.8543 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.996e-05/0.09085, allocations: 94.72 kB / 0.8544 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/0.09116, allocations: 124.3 kB / 0.8546 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004602/0.09576, allocations: 2.103 MB / 0.8566 GB, free: 2.82 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/0.09581, allocations: 11.88 kB / 0.8566 GB, free: 2.809 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.09599, allocations: 51.98 kB / 0.8567 GB, free: 2.758 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000701/0.09669, allocations: 186.1 kB / 0.8568 GB, free: 2.574 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004495/0.1012, allocations: 1.332 MB / 0.8582 GB, free: 1.234 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01568/0.1169, allocations: 8.865 MB / 0.8668 GB, free: 8.152 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003941/0.1208, allocations: 1.008 MB / 0.8678 GB, free: 7.137 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.1226, allocations: 0.538 MB / 0.8683 GB, free: 6.594 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.162e-05/0.1227, allocations: 17 kB / 0.8683 GB, free: 6.578 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.1227, allocations: 46.39 kB / 0.8684 GB, free: 6.523 MB / 0.823 GB Notification: Performance of pre-optimization done (n=89): time 2.875e-06/0.1227, allocations: 0 / 0.8684 GB, free: 6.523 MB / 0.823 GB Notification: Performance of matching and sorting (n=131): time 0.02249/0.1452, allocations: 5.898 MB / 0.8741 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.1453, allocations: 68.72 kB / 0.8742 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.1471, allocations: 1.206 MB / 0.8754 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.1473, allocations: 45.7 kB / 0.8754 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007734/0.1481, allocations: 0.8322 MB / 0.8762 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006168/0.1487, allocations: 0.496 MB / 0.8767 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006181/0.1493, allocations: 293.2 kB / 0.877 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003816/0.1497, allocations: 0.5746 MB / 0.8776 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/0.1517, allocations: 0.6245 MB / 0.8782 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.154, allocations: 1.022 MB / 0.8792 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004668/0.1587, allocations: 1.718 MB / 0.8808 GB, free: 9.379 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.1587, allocations: 4 kB / 0.8809 GB, free: 9.375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.009066/0.1678, allocations: 2.844 MB / 0.8836 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.1678, allocations: 8 kB / 0.8836 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.1678, allocations: 4 kB / 0.8836 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007186/0.175, allocations: 1.409 MB / 0.885 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.1768, allocations: 331.3 kB / 0.8853 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03333/0.2101, allocations: 27.33 MB / 0.912 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/0.2124, allocations: 187.7 kB / 0.9122 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003395/0.2127, allocations: 67.95 kB / 0.9123 GB, free: 7.496 MB / 0.8698 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009608/0.2137, allocations: 304.4 kB / 0.9126 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006696/0.2144, allocations: 195 kB / 0.9127 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009942/0.2243, allocations: 2.708 MB / 0.9154 GB, free: 4.219 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.2243, allocations: 12 kB / 0.9154 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.131e-05/0.2244, allocations: 12 kB / 0.9154 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/0.2244, allocations: 15.84 kB / 0.9154 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.2386, allocations: 4.416 MB / 0.9197 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.2387, allocations: 4.344 kB / 0.9197 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.2402, allocations: 275.4 kB / 0.92 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006853/0.247, allocations: 1.319 MB / 0.9213 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001804/0.2472, allocations: 43.91 kB / 0.9213 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03107/0.2783, allocations: 26.41 MB / 0.9471 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.2783, allocations: 4 kB / 0.9471 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009335/0.2876, allocations: 2.693 MB / 0.9498 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/0.2889, allocations: 350.8 kB / 0.9501 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004119/0.2893, allocations: 27.98 kB / 0.9501 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/0.2912, allocations: 191.7 kB / 0.9503 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005378/0.2918, allocations: 136.6 kB / 0.9504 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/0.2919, allocations: 51.97 kB / 0.9505 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001329/0.2933, allocations: 0.7364 MB / 0.9512 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.2933, allocations: 0 / 0.9512 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002571/0.2958, allocations: 0.5703 MB / 0.9518 GB, free: 13.04 MB / 0.9167 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003839/0.2962, allocations: 135.2 kB / 0.9519 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0101/0.3063, allocations: 4.388 MB / 0.9562 GB, free: 8.289 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.3063, allocations: 0 / 0.9562 GB, free: 8.289 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.007252/0.3136, allocations: 3.537 MB / 0.9596 GB, free: 4.512 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/0.3167, allocations: 0.5122 MB / 0.9601 GB, free: 4.016 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008663/0.3254, allocations: 3.234 MB / 0.9633 GB, free: 0.6992 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/0.327, allocations: 0.8555 MB / 0.9641 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001648/0.3286, allocations: 336.4 kB / 0.9644 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005187/0.3291, allocations: 116.4 kB / 0.9646 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of SimCode: time 1.773e-06/0.3291, allocations: 0 / 0.9646 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of Templates: time 0.07705/0.4062, allocations: 40.86 MB / 1.004 GB, free: 7.215 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 9.56415075599216]