Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001786/0.001786, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.00194/0.00194, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.6/1.6, allocations: 177.1 MB / 203.9 MB, free: 4.758 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.039/3.039, allocations: 377.8 MB / 0.6232 GB, free: 8.52 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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.974e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0173/0.01733, allocations: 11.1 MB / 0.8216 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.0292, allocations: 5.859 MB / 0.8274 GB, free: 1.102 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.03051, allocations: 71.31 kB / 0.8274 GB, free: 1.031 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.005179/0.03569, allocations: 1.777 MB / 0.8292 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003841/0.03953, allocations: 1.219 MB / 0.8304 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.04195, allocations: 0.8153 MB / 0.8312 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003433/0.04538, allocations: 2.185 MB / 0.8333 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.04717, allocations: 1.026 MB / 0.8343 GB, free: 9.98 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002328/0.04949, allocations: 1.22 MB / 0.8355 GB, free: 8.758 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.05091, allocations: 0.8315 MB / 0.8363 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.05113, allocations: 120 kB / 0.8364 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.05348, allocations: 1.075 MB / 0.8375 GB, free: 6.73 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0006979/0.05417, allocations: 0.5764 MB / 0.838 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0008845/0.05506, allocations: 0.5338 MB / 0.8385 GB, free: 5.617 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004241/0.0593, allocations: 2.496 MB / 0.841 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.0593, allocations: 4 kB / 0.841 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.443e-06/0.0593, allocations: 0 / 0.841 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.95e-05/0.05934, allocations: 0 / 0.841 GB, free: 3.109 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003985/0.06333, allocations: 2.031 MB / 0.843 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.06338, allocations: 8.031 kB / 0.843 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005299/0.06868, allocations: 0.9822 MB / 0.8439 GB, free: 36 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.07106, allocations: 0.9663 MB / 0.8449 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.834e-05/0.07116, allocations: 90.91 kB / 0.845 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.0714, allocations: 128.3 kB / 0.8451 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003279/0.07468, allocations: 1.96 MB / 0.847 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.196e-05/0.07474, allocations: 16.06 kB / 0.847 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.07489, allocations: 60.34 kB / 0.8471 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002478/0.07514, allocations: 166.2 kB / 0.8472 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/0.07728, allocations: 0.9728 MB / 0.8482 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01514/0.09242, allocations: 11.82 MB / 0.8597 GB, free: 15.11 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003964/0.09639, allocations: 1.285 MB / 0.861 GB, free: 13.82 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005621/0.09695, allocations: 234.6 kB / 0.8612 GB, free: 13.59 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.09711, allocations: 32.92 kB / 0.8612 GB, free: 13.55 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/0.09716, allocations: 54.33 kB / 0.8613 GB, free: 13.49 MB / 0.823 GB Notification: Performance of pre-optimization done (n=103): time 2.815e-06/0.09716, allocations: 4 kB / 0.8613 GB, free: 13.49 MB / 0.823 GB Notification: Performance of matching and sorting (n=110): time 0.005151/0.1023, allocations: 1.875 MB / 0.8631 GB, free: 11.59 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.1024, allocations: 64.41 kB / 0.8632 GB, free: 11.52 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.1039, allocations: 1.039 MB / 0.8642 GB, free: 10.45 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-05/0.1039, allocations: 45.7 kB / 0.8642 GB, free: 10.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007173/0.1047, allocations: 0.8379 MB / 0.8651 GB, free: 9.555 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004169/0.1051, allocations: 420.6 kB / 0.8655 GB, free: 9.141 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004956/0.1056, allocations: 317 kB / 0.8658 GB, free: 8.82 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002442/0.1058, allocations: 480.7 kB / 0.8662 GB, free: 8.348 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007022/0.1065, allocations: 323.8 kB / 0.8665 GB, free: 8.031 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.1079, allocations: 1.036 MB / 0.8675 GB, free: 6.695 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.1101, allocations: 1.469 MB / 0.869 GB, free: 4.93 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.1101, allocations: 4 kB / 0.869 GB, free: 4.926 MB / 0.823 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003332/0.1135, allocations: 1.572 MB / 0.8705 GB, free: 3.309 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.1135, allocations: 12 kB / 0.8705 GB, free: 3.297 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.1135, allocations: 16 kB / 0.8705 GB, free: 3.281 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000962/0.1145, allocations: 249.3 kB / 0.8708 GB, free: 3.004 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.1159, allocations: 375.4 kB / 0.8711 GB, free: 2.637 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/0.1285, allocations: 14.19 MB / 0.885 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.13, allocations: 123.8 kB / 0.8851 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.1301, allocations: 68 kB / 0.8852 GB, free: 3.277 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006921/0.1308, allocations: 308.1 kB / 0.8855 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/0.1311, allocations: 171.1 kB / 0.8856 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/0.1338, allocations: 1.057 MB / 0.8867 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.1338, allocations: 12 kB / 0.8867 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1338, allocations: 4 kB / 0.8867 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.1338, allocations: 3.984 kB / 0.8867 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005343/0.1392, allocations: 2.448 MB / 0.8891 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.1392, allocations: 4 kB / 0.8891 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009929/0.1402, allocations: 227.6 kB / 0.8893 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008612/0.141, allocations: 229.4 kB / 0.8895 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.943e-05/0.1411, allocations: 28 kB / 0.8895 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/0.1543, allocations: 14.17 MB / 0.9034 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.1543, allocations: 7.938 kB / 0.9034 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/0.1578, allocations: 1.353 MB / 0.9047 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.1588, allocations: 223 kB / 0.9049 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.159, allocations: 24 kB / 0.9049 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008221/0.1598, allocations: 91.88 kB / 0.905 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/0.1601, allocations: 104.6 kB / 0.9051 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/0.1602, allocations: 35.98 kB / 0.9052 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009068/0.1611, allocations: 0.6116 MB / 0.9058 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.1611, allocations: 0 / 0.9058 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001593/0.1627, allocations: 396 kB / 0.9061 GB, free: 12.42 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002786/0.1629, allocations: 147 kB / 0.9063 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003892/0.1668, allocations: 2.35 MB / 0.9086 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.1668, allocations: 0 / 0.9086 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002559/0.1694, allocations: 1.785 MB / 0.9103 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.1712, allocations: 360.6 kB / 0.9107 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005313/0.1765, allocations: 2.595 MB / 0.9132 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009356/0.1775, allocations: 0.7059 MB / 0.9139 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009234/0.1784, allocations: 283 kB / 0.9142 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.1787, allocations: 92.48 kB / 0.9142 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of SimCode: time 1.483e-06/0.1787, allocations: 0 / 0.9142 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of Templates: time 0.03636/0.215, allocations: 17.46 MB / 0.9313 GB, free: 2.555 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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: 8.829223637003452]