Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001943/0.001943, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.002356/0.002356, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.644/1.644, allocations: 225.6 MB / 249.4 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.954/2.954, allocations: 496.2 MB / 0.7819 GB, free: 12.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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,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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 71.88 kB / 1.136 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9268/0.9288, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01234/0.9412, allocations: 14.59 MB / 1.32 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.9536, allocations: 9.746 MB / 1.329 GB, free: 17.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.955, allocations: 59.91 kB / 1.329 GB, free: 17.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003832/0.9589, allocations: 1.729 MB / 1.331 GB, free: 16.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00423/0.9631, allocations: 1.575 MB / 1.332 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.9649, allocations: 0.7678 MB / 1.333 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003196/0.9681, allocations: 2.518 MB / 1.336 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.9696, allocations: 1.002 MB / 1.337 GB, free: 13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002047/0.9716, allocations: 1.07 MB / 1.338 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.9736, allocations: 1.21 MB / 1.339 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.9739, allocations: 163.4 kB / 1.339 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.9755, allocations: 0.808 MB / 1.34 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006847/0.9762, allocations: 0.632 MB / 1.34 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.9773, allocations: 0.9376 MB / 1.341 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004179/0.9815, allocations: 2.765 MB / 1.344 GB, free: 9.992 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.9815, allocations: 0 / 1.344 GB, free: 9.992 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9815, allocations: 0 / 1.344 GB, free: 9.992 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.237e-05/0.9815, allocations: 1.281 kB / 1.344 GB, free: 9.992 MB / 1.061 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.004605/0.9861, allocations: 2.192 MB / 1.346 GB, free: 8.621 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.9862, allocations: 8.594 kB / 1.346 GB, free: 8.621 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.9976, allocations: 2.099 MB / 1.348 GB, free: 8.477 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00299/1.001, allocations: 1.307 MB / 1.35 GB, free: 7.754 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.603e-05/1.001, allocations: 93.95 kB / 1.35 GB, free: 7.707 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003554/1.001, allocations: 121.7 kB / 1.35 GB, free: 7.664 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007263/1.008, allocations: 2.678 MB / 1.352 GB, free: 6.586 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.209e-05/1.008, allocations: 11.2 kB / 1.352 GB, free: 6.578 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/1.009, allocations: 54.77 kB / 1.352 GB, free: 6.539 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000683/1.009, allocations: 180.7 kB / 1.353 GB, free: 6.523 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007966/1.017, allocations: 2.796 MB / 1.355 GB, free: 5.797 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01549/1.033, allocations: 10.47 MB / 1.366 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006667/1.039, allocations: 2.454 MB / 1.368 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003185/1.043, allocations: 1.207 MB / 1.369 GB, free: 13.49 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.033e-05/1.043, allocations: 10.16 kB / 1.369 GB, free: 13.49 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/1.043, allocations: 48.92 kB / 1.369 GB, free: 13.44 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 2.775e-06/1.043, allocations: 0 / 1.369 GB, free: 13.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.04699/1.09, allocations: 13.35 MB / 1.382 GB, free: 9.73 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/1.09, allocations: 66.61 kB / 1.382 GB, free: 9.668 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/1.092, allocations: 1.126 MB / 1.383 GB, free: 9.211 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002495/1.092, allocations: 46.23 kB / 1.383 GB, free: 9.164 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006729/1.093, allocations: 0.7274 MB / 1.384 GB, free: 8.586 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005703/1.093, allocations: 475.3 kB / 1.385 GB, free: 8.211 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005728/1.094, allocations: 261.4 kB / 1.385 GB, free: 8.098 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.094, allocations: 364.5 kB / 1.385 GB, free: 7.766 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003405/1.097, allocations: 1.344 MB / 1.386 GB, free: 7.293 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003524/1.101, allocations: 1.599 MB / 1.388 GB, free: 6.293 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008198/1.109, allocations: 2.988 MB / 1.391 GB, free: 4.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/1.109, allocations: 1.25 kB / 1.391 GB, free: 4.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01308/1.122, allocations: 4.41 MB / 1.395 GB, free: 2.133 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/1.122, allocations: 9.219 kB / 1.395 GB, free: 2.133 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/1.122, allocations: 7.688 kB / 1.395 GB, free: 2.133 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005445/1.128, allocations: 1.435 MB / 1.397 GB, free: 1.344 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/1.13, allocations: 440.6 kB / 1.397 GB, free: 1.172 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03055/1.16, allocations: 26.69 MB / 1.423 GB, free: 9.191 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/1.164, allocations: 304.1 kB / 1.423 GB, free: 9.047 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/1.164, allocations: 65.78 kB / 1.424 GB, free: 9.023 MB / 1.107 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.001241/1.165, allocations: 441.2 kB / 1.424 GB, free: 8.707 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004289/1.166, allocations: 171.6 kB / 1.424 GB, free: 8.617 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/1.178, allocations: 4.401 MB / 1.428 GB, free: 6.043 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/1.178, allocations: 18.22 kB / 1.428 GB, free: 6.039 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.016e-05/1.178, allocations: 11.97 kB / 1.428 GB, free: 6.039 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-05/1.178, allocations: 9.281 kB / 1.428 GB, free: 6.031 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/1.194, allocations: 6.722 MB / 1.435 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.194, allocations: 3.984 kB / 1.435 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/1.196, allocations: 375.4 kB / 1.435 GB, free: 420 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004911/1.201, allocations: 1.307 MB / 1.437 GB, free: 15.06 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002179/1.201, allocations: 43.95 kB / 1.437 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02791/1.229, allocations: 25.52 MB / 1.462 GB, free: 3.684 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.229, allocations: 4 kB / 1.462 GB, free: 3.68 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/1.241, allocations: 4.168 MB / 1.466 GB, free: 15.42 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/1.242, allocations: 463.8 kB / 1.466 GB, free: 14.95 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002818/1.242, allocations: 28 kB / 1.466 GB, free: 14.92 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/1.244, allocations: 311.5 kB / 1.466 GB, free: 14.61 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000465/1.245, allocations: 120.7 kB / 1.467 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/1.245, allocations: 55.95 kB / 1.467 GB, free: 14.44 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001118/1.246, allocations: 0.7487 MB / 1.467 GB, free: 13.69 MB / 1.154 GB Notification: Performance of sort global known variables: time 7.1e-08/1.246, allocations: 480 / 1.467 GB, free: 13.69 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002312/1.248, allocations: 0.5703 MB / 1.468 GB, free: 13.12 MB / 1.154 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.0003348/1.249, allocations: 139.1 kB / 1.468 GB, free: 12.97 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0114/1.26, allocations: 4.966 MB / 1.473 GB, free: 7.836 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.26, allocations: 0 / 1.473 GB, free: 7.836 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.007549/1.268, allocations: 3.425 MB / 1.476 GB, free: 4.238 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/1.27, allocations: 0.5457 MB / 1.477 GB, free: 3.707 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00893/1.279, allocations: 4.065 MB / 1.481 GB, free: 15.58 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/1.281, allocations: 1.481 MB / 1.482 GB, free: 14.07 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001631/1.282, allocations: 421.6 kB / 1.483 GB, free: 13.65 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/1.283, allocations: 111.4 kB / 1.483 GB, free: 13.54 MB / 1.17 GB Notification: Performance of SimCode: time 1.092e-06/1.283, allocations: 0 / 1.483 GB, free: 13.54 MB / 1.17 GB Notification: Performance of Templates: time 0.07024/1.353, allocations: 40.43 MB / 1.522 GB, free: 5.523 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.543812992982566]