Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007609/0.0007609, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001819, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006927/0.0006927, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008996/0.001592, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9188/0.9188, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09173/1.01, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.419/2.419, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2518/2.67, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_latest_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.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.207e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01361/0.01363, allocations: 6.956 MB / 0.8251 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.007606/0.02123, allocations: 2.564 MB / 0.8276 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003576/0.02481, allocations: 75.31 kB / 0.8277 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007247/0.02553, allocations: 357.3 kB / 0.828 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.02685, allocations: 0.9746 MB / 0.829 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.03075, allocations: 0.5576 MB / 0.8295 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00467/0.03542, allocations: 2.357 MB / 0.8318 GB, free: 5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.03686, allocations: 1.014 MB / 0.8328 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002684/0.03955, allocations: 1.336 MB / 0.8341 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.04122, allocations: 0.927 MB / 0.835 GB, free: 1.688 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0003382/0.04156, allocations: 112 kB / 0.8351 GB, free: 1.578 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000817/0.04238, allocations: 251.6 kB / 0.8354 GB, free: 1.332 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0005568/0.04294, allocations: 0.522 MB / 0.8359 GB, free: 0.8086 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0007663/0.0437, allocations: 455 kB / 0.8363 GB, free: 372 kB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.04564, allocations: 1.214 MB / 0.8375 GB, free: 15.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.352e-05/0.04567, allocations: 3.938 kB / 0.8375 GB, free: 15.14 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.04567, allocations: 4 kB / 0.8375 GB, free: 15.14 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.981e-05/0.04575, allocations: 0 / 0.8375 GB, free: 15.14 MB / 0.823 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.00306/0.04881, allocations: 1.988 MB / 0.8394 GB, free: 13.11 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.04887, allocations: 12.62 kB / 0.8394 GB, free: 13.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003071/0.05194, allocations: 0.8049 MB / 0.8402 GB, free: 12.28 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.05369, allocations: 0.8753 MB / 0.8411 GB, free: 11.38 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.776e-05/0.05377, allocations: 90.91 kB / 0.8412 GB, free: 11.29 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.05396, allocations: 128.3 kB / 0.8413 GB, free: 11.16 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.05598, allocations: 1.584 MB / 0.8428 GB, free: 9.293 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.875e-05/0.05602, allocations: 24.05 kB / 0.8429 GB, free: 9.27 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.05616, allocations: 56.36 kB / 0.8429 GB, free: 9.215 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002233/0.05639, allocations: 166.2 kB / 0.8431 GB, free: 9.051 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.05755, allocations: 0.5972 MB / 0.8437 GB, free: 8.441 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007613/0.06516, allocations: 7.816 MB / 0.8513 GB, free: 360 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.06772, allocations: 1.359 MB / 0.8526 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.06805, allocations: 155.8 kB / 0.8528 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.0682, allocations: 36.97 kB / 0.8528 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.06823, allocations: 39.56 kB / 0.8528 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=103): time 5.179e-06/0.06824, allocations: 4 kB / 0.8528 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.003174/0.07141, allocations: 1.25 MB / 0.8541 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.07146, allocations: 68.41 kB / 0.8541 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007051/0.07217, allocations: 0.7886 MB / 0.8549 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.07221, allocations: 45.7 kB / 0.8549 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.07249, allocations: 0.6652 MB / 0.8556 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.07268, allocations: 404.5 kB / 0.856 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.07292, allocations: 267.3 kB / 0.8562 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.136e-05/0.073, allocations: 309.1 kB / 0.8565 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.0732, allocations: 171.9 kB / 0.8567 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.07363, allocations: 0.676 MB / 0.8574 GB, free: 9.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007585/0.07438, allocations: 1.002 MB / 0.8583 GB, free: 8.598 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.07439, allocations: 4 kB / 0.8583 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001214/0.07561, allocations: 1.059 MB / 0.8594 GB, free: 7.496 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.07564, allocations: 12 kB / 0.8594 GB, free: 7.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.07566, allocations: 19.94 kB / 0.8594 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004819/0.07614, allocations: 233.5 kB / 0.8596 GB, free: 7.203 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.07681, allocations: 351.5 kB / 0.86 GB, free: 6.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004851/0.08166, allocations: 9.585 MB / 0.8693 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007301/0.08239, allocations: 55.88 kB / 0.8694 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.018e-05/0.08245, allocations: 52 kB / 0.8694 GB, free: 12.4 MB / 0.8542 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.000377/0.08283, allocations: 224.2 kB / 0.8696 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.08296, allocations: 107.9 kB / 0.8697 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009224/0.08388, allocations: 0.7788 MB / 0.8705 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.08388, allocations: 12 kB / 0.8705 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.08389, allocations: 0 / 0.8705 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.0839, allocations: 7.969 kB / 0.8705 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.08583, allocations: 1.58 MB / 0.8721 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.08584, allocations: 4 kB / 0.8721 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.08625, allocations: 187.7 kB / 0.8722 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.0865, allocations: 179.1 kB / 0.8724 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003651/0.08686, allocations: 209.3 kB / 0.8726 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.0869, allocations: 24 kB / 0.8726 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004275/0.09117, allocations: 9.576 MB / 0.882 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.09118, allocations: 4 kB / 0.882 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009292/0.09211, allocations: 0.9556 MB / 0.8829 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.09223, allocations: 39.86 kB / 0.883 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.09251, allocations: 24.06 kB / 0.883 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.09263, allocations: 100.7 kB / 0.8831 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.09266, allocations: 24 kB / 0.8831 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000259/0.09292, allocations: 372.4 kB / 0.8835 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.09292, allocations: 0 / 0.8835 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009465/0.09387, allocations: 392 kB / 0.8838 GB, free: 12.53 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.0001807/0.09405, allocations: 124.2 kB / 0.884 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.0954, allocations: 1.643 MB / 0.8856 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.536e-05/0.09546, allocations: 37.67 kB / 0.8856 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000775/0.09624, allocations: 1.237 MB / 0.8868 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/0.0971, allocations: 464.6 kB / 0.8872 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006958/0.1041, allocations: 2.58 MB / 0.8898 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.1044, allocations: 365.2 kB / 0.8901 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006133/0.105, allocations: 179.2 kB / 0.8903 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/0.1055, allocations: 321.1 kB / 0.8906 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of SimCode: time 1.803e-06/0.1055, allocations: 0 / 0.8906 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of Templates: time 0.02413/0.1296, allocations: 19.11 MB / 0.9093 GB, free: 2.484 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.8006332507357]