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.001739/0.001739, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002085/0.002085, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.464/1.464, allocations: 177.1 MB / 203.9 MB, free: 5.605 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 2.884/2.884, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.054e-06/2.054e-06, allocations: 0 / 0.8108 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.246e-05/3.452e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01586/0.0159, allocations: 10.51 MB / 0.8211 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.02781, allocations: 5.575 MB / 0.8265 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.02922, allocations: 75.31 kB / 0.8266 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005623/0.03485, allocations: 1.733 MB / 0.8283 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003913/0.03876, allocations: 1.213 MB / 0.8295 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.04131, allocations: 0.8174 MB / 0.8303 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.003581/0.04489, allocations: 2.182 MB / 0.8324 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/0.04691, allocations: 1.029 MB / 0.8334 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.04994, allocations: 1.215 MB / 0.8346 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.05218, allocations: 0.8218 MB / 0.8354 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005235/0.0527, allocations: 112 kB / 0.8355 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.05552, allocations: 1.075 MB / 0.8365 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0009334/0.05645, allocations: 0.5667 MB / 0.8371 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.05772, allocations: 0.5338 MB / 0.8376 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004863/0.06258, allocations: 2.488 MB / 0.84 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.06259, allocations: 0 / 0.84 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.503e-06/0.06259, allocations: 0 / 0.84 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001106/0.0627, allocations: 0 / 0.84 GB, free: 2.949 MB / 0.7448 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.004678/0.06738, allocations: 1.824 MB / 0.8418 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.06743, allocations: 15.97 kB / 0.8418 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005413/0.07284, allocations: 0.9861 MB / 0.8428 GB, free: 84 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.07532, allocations: 0.983 MB / 0.8438 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.07545, allocations: 98.89 kB / 0.8439 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000404/0.07586, allocations: 128.3 kB / 0.844 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004788/0.08064, allocations: 2.4 MB / 0.8463 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-05/0.0807, allocations: 16.06 kB / 0.8463 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.0809, allocations: 60.34 kB / 0.8464 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002694/0.08117, allocations: 170.2 kB / 0.8466 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004044/0.08522, allocations: 1.855 MB / 0.8484 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01422/0.09944, allocations: 9.207 MB / 0.8574 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004878/0.1043, allocations: 1.864 MB / 0.8592 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009904/0.1053, allocations: 0.5659 MB / 0.8597 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.1055, allocations: 24.98 kB / 0.8598 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.1055, allocations: 43.56 kB / 0.8598 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=103): time 2.956e-06/0.1055, allocations: 0 / 0.8598 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=110): time 0.007605/0.1131, allocations: 3.153 MB / 0.8629 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.1132, allocations: 64.41 kB / 0.8629 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.1147, allocations: 0.8808 MB / 0.8638 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.977e-05/0.1148, allocations: 41.7 kB / 0.8638 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000748/0.1155, allocations: 0.7494 MB / 0.8646 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004487/0.116, allocations: 408.5 kB / 0.865 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004913/0.1164, allocations: 283.4 kB / 0.8652 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1166, allocations: 305.1 kB / 0.8655 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.1177, allocations: 0.6168 MB / 0.8661 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.1193, allocations: 1.106 MB / 0.8672 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003159/0.1225, allocations: 1.828 MB / 0.869 GB, free: 4.145 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/0.1225, allocations: 4 kB / 0.869 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004284/0.1268, allocations: 2.174 MB / 0.8711 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.1268, allocations: 8 kB / 0.8711 GB, free: 1.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-05/0.1269, allocations: 19.98 kB / 0.8711 GB, free: 1.902 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.1279, allocations: 275.2 kB / 0.8714 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.1293, allocations: 375.4 kB / 0.8718 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/0.1409, allocations: 10.58 MB / 0.8821 GB, free: 5.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.1423, allocations: 127.8 kB / 0.8822 GB, free: 5.715 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/0.1426, allocations: 68.3 kB / 0.8823 GB, free: 5.648 MB / 0.7917 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.001251/0.1438, allocations: 405.2 kB / 0.8827 GB, free: 5.242 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004262/0.1442, allocations: 167.2 kB / 0.8828 GB, free: 5.078 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003524/0.1478, allocations: 1.671 MB / 0.8845 GB, free: 3.375 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.1478, allocations: 12 kB / 0.8845 GB, free: 3.363 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.1478, allocations: 4 kB / 0.8845 GB, free: 3.359 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.1478, allocations: 7.969 kB / 0.8845 GB, free: 3.352 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00601/0.1538, allocations: 2.938 MB / 0.8874 GB, free: 292 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.1538, allocations: 7.984 kB / 0.8874 GB, free: 284 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009281/0.1548, allocations: 223.6 kB / 0.8876 GB, free: 60 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000954/0.1557, allocations: 259.1 kB / 0.8878 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.86e-05/0.1558, allocations: 28 kB / 0.8879 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/0.1675, allocations: 10.57 MB / 0.8982 GB, free: 4.367 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/0.1675, allocations: 7.938 kB / 0.8982 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003582/0.1711, allocations: 1.82 MB / 0.9 GB, free: 2.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00071/0.1718, allocations: 227.1 kB / 0.9002 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/0.1721, allocations: 35.89 kB / 0.9002 GB, free: 2.172 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008143/0.1729, allocations: 87.88 kB / 0.9003 GB, free: 2.086 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.1732, allocations: 108.6 kB / 0.9004 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-05/0.1732, allocations: 35.98 kB / 0.9004 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0009522/0.1742, allocations: 0.5647 MB / 0.901 GB, free: 1.371 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.1742, allocations: 4 kB / 0.901 GB, free: 1.367 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001622/0.1758, allocations: 400 kB / 0.9014 GB, free: 0.9766 MB / 0.8073 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.0003111/0.1761, allocations: 137 kB / 0.9015 GB, free: 0.8359 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004574/0.1807, allocations: 2.402 MB / 0.9038 GB, free: 14.33 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.1807, allocations: 4 kB / 0.9038 GB, free: 14.33 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.1833, allocations: 1.582 MB / 0.9054 GB, free: 12.64 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.1852, allocations: 359.7 kB / 0.9057 GB, free: 12.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005744/0.191, allocations: 2.818 MB / 0.9085 GB, free: 9.367 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.1922, allocations: 0.741 MB / 0.9092 GB, free: 8.594 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001222/0.1934, allocations: 355 kB / 0.9096 GB, free: 8.242 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/0.1938, allocations: 92.48 kB / 0.9096 GB, free: 8.148 MB / 0.823 GB Notification: Performance of SimCode: time 1.824e-06/0.1938, allocations: 4 kB / 0.9096 GB, free: 8.145 MB / 0.823 GB Notification: Performance of Templates: time 0.03654/0.2304, allocations: 17.32 MB / 0.9266 GB, free: 7.191 MB / 0.8386 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] 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.46486409904901]