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.00145/0.00145, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001419/0.001419, allocations: 187.6 kB / 22.23 MB, free: 5.098 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 / 251 MB, free: 13.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.737/2.737, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002203/0.002203, allocations: 63.89 kB / 1.061 GB, free: 3 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 160.8 MB / 1.218 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02097/1.051, allocations: 15.35 MB / 1.233 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01728/1.068, allocations: 10.72 MB / 1.244 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/1.07, allocations: 79.25 kB / 1.244 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004819/1.075, allocations: 1.76 MB / 1.246 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006502/1.081, allocations: 1.865 MB / 1.248 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/1.084, allocations: 0.7589 MB / 1.248 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004452/1.088, allocations: 2.762 MB / 1.251 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/1.09, allocations: 1.005 MB / 1.252 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/1.093, allocations: 1.547 MB / 1.253 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002167/1.095, allocations: 1.234 MB / 1.255 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003168/1.095, allocations: 160 kB / 1.255 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/1.097, allocations: 0.8072 MB / 1.256 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006412/1.098, allocations: 0.6191 MB / 1.256 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/1.099, allocations: 0.9561 MB / 1.257 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003409/1.102, allocations: 2.782 MB / 1.26 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.102, allocations: 0 / 1.26 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/1.102, allocations: 0 / 1.26 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.316e-05/1.102, allocations: 0 / 1.26 GB, free: 12.74 MB / 0.9669 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.004252/1.107, allocations: 2.223 MB / 1.262 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.107, allocations: 12.03 kB / 1.262 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/1.118, allocations: 2.113 MB / 1.264 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/1.121, allocations: 1.32 MB / 1.265 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.505e-05/1.121, allocations: 90.69 kB / 1.265 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/1.122, allocations: 116.1 kB / 1.266 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00584/1.128, allocations: 2.674 MB / 1.268 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.372e-05/1.128, allocations: 11.89 kB / 1.268 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/1.128, allocations: 55.98 kB / 1.268 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006001/1.128, allocations: 190.1 kB / 1.268 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007441/1.136, allocations: 2.791 MB / 1.271 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01697/1.153, allocations: 10.48 MB / 1.281 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006247/1.159, allocations: 2.258 MB / 1.284 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002979/1.162, allocations: 1.194 MB / 1.285 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.235e-05/1.162, allocations: 17 kB / 1.285 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/1.162, allocations: 43.56 kB / 1.285 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=89): time 2.645e-06/1.162, allocations: 0 / 1.285 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=153): time 0.05914/1.221, allocations: 16.45 MB / 1.301 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/1.221, allocations: 68.7 kB / 1.301 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/1.223, allocations: 1.176 MB / 1.302 GB, free: 404 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002118/1.224, allocations: 49.7 kB / 1.302 GB, free: 348 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006823/1.224, allocations: 0.7607 MB / 1.303 GB, free: 15.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006026/1.225, allocations: 0.5422 MB / 1.303 GB, free: 15.03 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005891/1.225, allocations: 287.5 kB / 1.304 GB, free: 14.74 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.226, allocations: 305.1 kB / 1.304 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003539/1.229, allocations: 1.51 MB / 1.305 GB, free: 12.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003696/1.233, allocations: 1.78 MB / 1.307 GB, free: 11.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007406/1.24, allocations: 3.369 MB / 1.311 GB, free: 7.586 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/1.24, allocations: 4 kB / 1.311 GB, free: 7.582 MB / 1.014 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01398/1.254, allocations: 5.207 MB / 1.316 GB, free: 2.336 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/1.254, allocations: 8 kB / 1.316 GB, free: 2.328 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/1.254, allocations: 8 kB / 1.316 GB, free: 2.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00751/1.262, allocations: 1.889 MB / 1.317 GB, free: 420 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/1.264, allocations: 415.2 kB / 1.318 GB, free: 4 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0356/1.299, allocations: 24.15 MB / 1.341 GB, free: 6.742 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/1.302, allocations: 307.5 kB / 1.342 GB, free: 6.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003465/1.303, allocations: 67.97 kB / 1.342 GB, free: 6.375 MB / 1.045 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.00124/1.304, allocations: 473.4 kB / 1.342 GB, free: 5.902 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000529/1.304, allocations: 182.9 kB / 1.342 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/1.319, allocations: 5.253 MB / 1.348 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/1.319, allocations: 16 kB / 1.348 GB, free: 412 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.503e-05/1.319, allocations: 16 kB / 1.348 GB, free: 396 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/1.319, allocations: 11.97 kB / 1.348 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01907/1.338, allocations: 7.36 MB / 1.355 GB, free: 8.887 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/1.338, allocations: 4 kB / 1.355 GB, free: 8.883 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/1.339, allocations: 351.4 kB / 1.355 GB, free: 8.539 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006123/1.346, allocations: 1.709 MB / 1.357 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/1.346, allocations: 43.95 kB / 1.357 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03327/1.379, allocations: 23.32 MB / 1.38 GB, free: 14.34 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.379, allocations: 4.031 kB / 1.38 GB, free: 14.33 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/1.393, allocations: 4.83 MB / 1.384 GB, free: 9.418 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/1.395, allocations: 0.4919 MB / 1.385 GB, free: 8.906 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006216/1.395, allocations: 28 kB / 1.385 GB, free: 8.879 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/1.398, allocations: 319.5 kB / 1.385 GB, free: 8.566 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006469/1.399, allocations: 160.9 kB / 1.385 GB, free: 8.406 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002155/1.399, allocations: 55.97 kB / 1.385 GB, free: 8.352 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001592/1.4, allocations: 0.7899 MB / 1.386 GB, free: 7.562 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.4, allocations: 0 / 1.386 GB, free: 7.562 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002861/1.403, allocations: 0.6562 MB / 1.387 GB, free: 6.906 MB / 1.092 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.0004076/1.404, allocations: 140.8 kB / 1.387 GB, free: 6.762 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01198/1.416, allocations: 4.921 MB / 1.392 GB, free: 1.734 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/1.416, allocations: 0 / 1.392 GB, free: 1.734 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.007913/1.424, allocations: 3.269 MB / 1.395 GB, free: 14.36 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003437/1.427, allocations: 0.5606 MB / 1.395 GB, free: 13.82 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/1.438, allocations: 4.372 MB / 1.4 GB, free: 9.391 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002086/1.44, allocations: 1.568 MB / 1.401 GB, free: 7.785 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001898/1.442, allocations: 386.4 kB / 1.402 GB, free: 7.402 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/1.443, allocations: 107.4 kB / 1.402 GB, free: 7.297 MB / 1.107 GB Notification: Performance of SimCode: time 1.292e-06/1.443, allocations: 0 / 1.402 GB, free: 7.297 MB / 1.107 GB Notification: Performance of Templates: time 0.1013/1.544, allocations: 47.1 MB / 1.448 GB, free: 8.633 MB / 1.154 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.061838233843446]