Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001828/0.001828, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.002364/0.002364, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.459/1.459, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.192/3.192, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.87e-05/4.065e-05, allocations: 2.906 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.03266/0.0327, allocations: 13.74 MB / 0.891 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02726/0.05996, allocations: 9.815 MB / 0.9006 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.0617, allocations: 87.19 kB / 0.9007 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.007136/0.06884, allocations: 1.692 MB / 0.9023 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.007182/0.07602, allocations: 1.904 MB / 0.9042 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.07832, allocations: 0.7675 MB / 0.9049 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.004707/0.08303, allocations: 2.843 MB / 0.9077 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002644/0.08567, allocations: 1.192 MB / 0.9089 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004155/0.08983, allocations: 2.102 MB / 0.9109 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.0919, allocations: 0.9309 MB / 0.9118 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004493/0.09234, allocations: 160 kB / 0.912 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.09418, allocations: 0.7326 MB / 0.9127 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.09518, allocations: 0.6425 MB / 0.9133 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.09672, allocations: 0.639 MB / 0.914 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.004733/0.1015, allocations: 2.788 MB / 0.9167 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1015, allocations: 3.938 kB / 0.9167 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1015, allocations: 0 / 0.9167 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001004/0.1016, allocations: 0 / 0.9167 GB, free: 14.33 MB / 0.8855 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.005208/0.1068, allocations: 2.132 MB / 0.9188 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1068, allocations: 12.03 kB / 0.9188 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/0.1196, allocations: 2.328 MB / 0.9211 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/0.1227, allocations: 1.263 MB / 0.9223 GB, free: 8.508 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.1228, allocations: 82.69 kB / 0.9224 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004851/0.1233, allocations: 128.3 kB / 0.9225 GB, free: 8.301 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007108/0.1304, allocations: 2.893 MB / 0.9253 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.126e-05/0.1304, allocations: 11.88 kB / 0.9253 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/0.1306, allocations: 51.98 kB / 0.9254 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007433/0.1314, allocations: 190.1 kB / 0.9256 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008507/0.1399, allocations: 2.803 MB / 0.9283 GB, free: 2.148 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01771/0.1576, allocations: 8.239 MB / 0.9363 GB, free: 9.738 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007189/0.1648, allocations: 2.187 MB / 0.9385 GB, free: 7.543 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003482/0.1683, allocations: 1.21 MB / 0.9397 GB, free: 6.332 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.359e-05/0.1684, allocations: 17 kB / 0.9397 GB, free: 6.316 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/0.1684, allocations: 47.5 kB / 0.9397 GB, free: 6.262 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=89): time 2.905e-06/0.1684, allocations: 0 / 0.9397 GB, free: 6.262 MB / 0.9011 GB Notification: Performance of matching and sorting (n=153): time 0.06599/0.2344, allocations: 16.4 MB / 0.9557 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.2345, allocations: 68.72 kB / 0.9558 GB, free: 5.734 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.2362, allocations: 1.031 MB / 0.9568 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000219/0.2364, allocations: 53.7 kB / 0.9569 GB, free: 4.637 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007506/0.2371, allocations: 0.7557 MB / 0.9576 GB, free: 3.867 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007453/0.2379, allocations: 0.5383 MB / 0.9581 GB, free: 3.324 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007501/0.2386, allocations: 287.5 kB / 0.9584 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.2388, allocations: 309.1 kB / 0.9587 GB, free: 2.734 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004052/0.2429, allocations: 1.526 MB / 0.9602 GB, free: 1.207 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004327/0.2472, allocations: 1.799 MB / 0.9619 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008534/0.2557, allocations: 3.412 MB / 0.9653 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.2557, allocations: 7.938 kB / 0.9653 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01652/0.2723, allocations: 5.383 MB / 0.9705 GB, free: 6.367 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.2723, allocations: 11.94 kB / 0.9706 GB, free: 6.355 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.2723, allocations: 11.98 kB / 0.9706 GB, free: 6.344 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01186/0.2842, allocations: 2.44 MB / 0.9729 GB, free: 3.887 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.2863, allocations: 419.2 kB / 0.9733 GB, free: 3.477 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03724/0.3235, allocations: 23.33 MB / 0.9961 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/0.3264, allocations: 311.5 kB / 0.9964 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003162/0.3267, allocations: 63.97 kB / 0.9965 GB, free: 10.98 MB / 0.9636 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.001114/0.3278, allocations: 469.4 kB / 0.9969 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000634/0.3285, allocations: 215 kB / 0.9971 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/0.3449, allocations: 5.369 MB / 1.002 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.345, allocations: 16 kB / 1.002 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-05/0.345, allocations: 24 kB / 1.002 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.345, allocations: 7.969 kB / 1.002 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/0.3655, allocations: 7.013 MB / 1.009 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.3655, allocations: 4 kB / 1.009 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001861/0.3673, allocations: 351.4 kB / 1.01 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01102/0.3784, allocations: 2.297 MB / 1.012 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002888/0.3787, allocations: 43.97 kB / 1.012 GB, free: 11.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0355/0.4142, allocations: 22.51 MB / 1.034 GB, free: 3.688 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.4142, allocations: 4 kB / 1.034 GB, free: 3.684 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0152/0.4294, allocations: 5.032 MB / 1.039 GB, free: 14.57 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.4305, allocations: 414.7 kB / 1.039 GB, free: 14.16 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003638/0.4309, allocations: 31.98 kB / 1.039 GB, free: 14.13 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/0.4333, allocations: 319.5 kB / 1.04 GB, free: 13.82 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005953/0.4339, allocations: 152.9 kB / 1.04 GB, free: 13.67 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001842/0.4341, allocations: 55.95 kB / 1.04 GB, free: 13.62 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001193/0.4353, allocations: 0.6879 MB / 1.04 GB, free: 12.93 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.4353, allocations: 0 / 1.04 GB, free: 12.93 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002485/0.4377, allocations: 0.6797 MB / 1.041 GB, free: 12.25 MB / 1.01 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.000382/0.4381, allocations: 131.2 kB / 1.041 GB, free: 12.11 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01296/0.4511, allocations: 4.976 MB / 1.046 GB, free: 7.027 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.4511, allocations: 0 / 1.046 GB, free: 7.027 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008375/0.4595, allocations: 3.287 MB / 1.049 GB, free: 3.633 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.4623, allocations: 0.5367 MB / 1.05 GB, free: 3.117 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3404/0.8027, allocations: 4.348 MB / 1.054 GB, free: 201.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009057/0.8036, allocations: 0.9785 MB / 1.055 GB, free: 201.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001291/0.8049, allocations: 374 kB / 1.055 GB, free: 201.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.8052, allocations: 100.8 kB / 1.055 GB, free: 201.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.152e-06/0.8052, allocations: 0 / 1.055 GB, free: 201.7 MB / 1.01 GB Notification: Performance of Templates: time 0.06145/0.8667, allocations: 47.94 MB / 1.102 GB, free: 193.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.095900468993932]