Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001178/0.001178, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001412/0.001412, allocations: 174.3 kB / 23.21 MB, free: 1.355 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 0.9272/0.9272, allocations: 177.2 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.681/1.681, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.574e-05, allocations: 2.281 kB / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01019/0.01021, allocations: 13.1 MB / 0.9645 GB, free: 5.84 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.009668/0.01988, allocations: 9.01 MB / 0.9733 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.02089, allocations: 91.19 kB / 0.9734 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002167/0.02306, allocations: 1.668 MB / 0.975 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.02612, allocations: 1.638 MB / 0.9766 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.02742, allocations: 0.7598 MB / 0.9774 GB, free: 8.637 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001982/0.02941, allocations: 2.605 MB / 0.9799 GB, free: 6.02 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.03049, allocations: 1.18 MB / 0.9811 GB, free: 4.805 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.0319, allocations: 1.578 MB / 0.9826 GB, free: 3.223 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008727/0.03277, allocations: 0.9621 MB / 0.9835 GB, free: 2.258 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.03292, allocations: 160 kB / 0.9837 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009618/0.03388, allocations: 0.7365 MB / 0.9844 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003836/0.03426, allocations: 0.6503 MB / 0.9851 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.03472, allocations: 0.6313 MB / 0.9857 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.03681, allocations: 2.772 MB / 0.9884 GB, free: 13.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.03681, allocations: 0 / 0.9884 GB, free: 13.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.843e-06/0.03682, allocations: 4 kB / 0.9884 GB, free: 13.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.791e-05/0.03684, allocations: 0 / 0.9884 GB, free: 13.3 MB / 0.948 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.002864/0.03971, allocations: 2.096 MB / 0.9904 GB, free: 11.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.03976, allocations: 8.031 kB / 0.9904 GB, free: 11.15 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005505/0.04527, allocations: 2.098 MB / 0.9925 GB, free: 9.051 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.04671, allocations: 1.172 MB / 0.9936 GB, free: 7.828 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-05/0.04676, allocations: 86.73 kB / 0.9937 GB, free: 7.742 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.04694, allocations: 116.4 kB / 0.9938 GB, free: 7.629 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003353/0.05029, allocations: 2.898 MB / 0.9966 GB, free: 4.535 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.05032, allocations: 11.89 kB / 0.9967 GB, free: 4.523 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.05044, allocations: 59.98 kB / 0.9967 GB, free: 4.465 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000303/0.05074, allocations: 178.1 kB / 0.9969 GB, free: 4.289 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003923/0.05466, allocations: 2.795 MB / 0.9996 GB, free: 1.484 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007647/0.06231, allocations: 8.118 MB / 1.008 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.06569, allocations: 2.221 MB / 1.01 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/0.06738, allocations: 1.21 MB / 1.011 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.256e-05/0.06744, allocations: 13 kB / 1.011 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.06746, allocations: 47.44 kB / 1.011 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=89): time 3.767e-06/0.06747, allocations: 4 kB / 1.011 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of matching and sorting (n=131): time 0.02221/0.08968, allocations: 12.64 MB / 1.023 GB, free: 8.992 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.08972, allocations: 68.72 kB / 1.023 GB, free: 8.914 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008835/0.0906, allocations: 0.9834 MB / 1.024 GB, free: 7.918 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.801e-05/0.09069, allocations: 45.7 kB / 1.024 GB, free: 7.867 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004272/0.09112, allocations: 0.7355 MB / 1.025 GB, free: 7.125 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.09139, allocations: 467.9 kB / 1.026 GB, free: 6.664 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003126/0.0917, allocations: 263.5 kB / 1.026 GB, free: 6.398 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.0918, allocations: 357.9 kB / 1.026 GB, free: 6.043 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.09356, allocations: 1.339 MB / 1.027 GB, free: 4.703 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.09542, allocations: 1.596 MB / 1.029 GB, free: 3.008 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/0.0992, allocations: 2.991 MB / 1.032 GB, free: 15.92 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.09921, allocations: 4 kB / 1.032 GB, free: 15.92 MB / 0.9948 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.005989/0.1052, allocations: 4.388 MB / 1.036 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1052, allocations: 8 kB / 1.036 GB, free: 11.47 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.1052, allocations: 8 kB / 1.036 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00259/0.1078, allocations: 1.428 MB / 1.038 GB, free: 9.992 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009581/0.1088, allocations: 443.2 kB / 1.038 GB, free: 9.559 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5014/0.6102, allocations: 24.78 MB / 1.062 GB, free: 118 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.6117, allocations: 304.2 kB / 1.063 GB, free: 117.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.6118, allocations: 64.72 kB / 1.063 GB, free: 117.9 MB / 0.9948 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.0006261/0.6124, allocations: 434.5 kB / 1.063 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.6125, allocations: 155.1 kB / 1.063 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00552/0.6181, allocations: 4.398 MB / 1.067 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.6181, allocations: 18.09 kB / 1.067 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.6181, allocations: 13.34 kB / 1.067 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6181, allocations: 6.703 kB / 1.067 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00707/0.6251, allocations: 6.121 MB / 1.073 GB, free: 114.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.6252, allocations: 8.969 kB / 1.073 GB, free: 114.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007656/0.6259, allocations: 388 kB / 1.074 GB, free: 114.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002113/0.628, allocations: 1.304 MB / 1.075 GB, free: 113.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/0.6281, allocations: 38.41 kB / 1.075 GB, free: 113.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.6398, allocations: 23.65 MB / 1.098 GB, free: 94.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6398, allocations: 3.062 kB / 1.098 GB, free: 94.61 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00578/0.6456, allocations: 4.145 MB / 1.102 GB, free: 93.15 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005844/0.6462, allocations: 369.1 kB / 1.103 GB, free: 92.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.6463, allocations: 34.02 kB / 1.103 GB, free: 92.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.6473, allocations: 308.4 kB / 1.103 GB, free: 92.93 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003855/0.6477, allocations: 134.2 kB / 1.103 GB, free: 92.89 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.933e-05/0.6478, allocations: 47.78 kB / 1.103 GB, free: 92.89 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006991/0.6485, allocations: 0.6559 MB / 1.104 GB, free: 92.61 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.6485, allocations: 0 / 1.104 GB, free: 92.61 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001573/0.6501, allocations: 0.5636 MB / 1.104 GB, free: 92.55 MB / 0.9948 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.0002276/0.6503, allocations: 142.9 kB / 1.104 GB, free: 92.44 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006095/0.6564, allocations: 4.968 MB / 1.109 GB, free: 89.98 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6564, allocations: 1.375 kB / 1.109 GB, free: 89.98 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003629/0.66, allocations: 3.414 MB / 1.113 GB, free: 87.94 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.6614, allocations: 0.4993 MB / 1.113 GB, free: 87.79 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005609/0.667, allocations: 4.145 MB / 1.117 GB, free: 86.04 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009703/0.668, allocations: 0.8872 MB / 1.118 GB, free: 85.81 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.6684, allocations: 128.7 kB / 1.118 GB, free: 85.8 MB / 0.9948 GB Notification: Performance of SimCode: time 1.042e-06/0.6684, allocations: 0 / 1.118 GB, free: 85.8 MB / 0.9948 GB Notification: Performance of Templates: time 0.0618/0.7302, allocations: 112.4 MB / 1.228 GB, free: 14.15 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.413496239110827]