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.0009816/0.0009816, 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.001293/0.001293, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8964/0.8964, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.77/1.77, allocations: 377.9 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] 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.573e-06/1.573e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.067e-05, allocations: 4.812 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01225/0.01228, allocations: 10.51 MB / 0.9925 GB, free: 7.539 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.008661/0.02094, allocations: 5.582 MB / 0.9979 GB, free: 1.938 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008007/0.02174, allocations: 75.31 kB / 0.998 GB, free: 1.863 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.002991/0.02473, allocations: 1.734 MB / 0.9997 GB, free: 128 kB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.02712, allocations: 1.212 MB / 1.001 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.02884, allocations: 0.8208 MB / 1.002 GB, free: 14.08 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002306/0.03114, allocations: 2.181 MB / 1.004 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.03246, allocations: 1.022 MB / 1.005 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.03388, allocations: 1.216 MB / 1.006 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.03497, allocations: 0.8179 MB / 1.007 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.03514, allocations: 116 kB / 1.007 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.03689, allocations: 1.071 MB / 1.008 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0004929/0.03738, allocations: 0.5686 MB / 1.008 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.00056/0.03794, allocations: 0.5338 MB / 1.009 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.04065, allocations: 2.492 MB / 1.011 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.04065, allocations: 0 / 1.011 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.593e-06/0.04065, allocations: 0 / 1.011 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.04067, allocations: 4 kB / 1.011 GB, free: 4.008 MB / 0.9636 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.002649/0.04332, allocations: 1.824 MB / 1.013 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.04336, allocations: 8.031 kB / 1.013 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003967/0.04733, allocations: 0.6864 MB / 1.014 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.04898, allocations: 0.9206 MB / 1.015 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-05/0.04905, allocations: 90.91 kB / 1.015 GB, free: 424 kB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.04926, allocations: 136.3 kB / 1.015 GB, free: 288 kB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/0.05241, allocations: 2.408 MB / 1.017 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.05246, allocations: 12.06 kB / 1.017 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.0526, allocations: 64.34 kB / 1.017 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002081/0.05281, allocations: 170.2 kB / 1.018 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002957/0.05576, allocations: 1.855 MB / 1.019 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009762/0.06553, allocations: 9.168 MB / 1.028 GB, free: 2.035 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003783/0.06931, allocations: 1.866 MB / 1.03 GB, free: 168 kB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008473/0.07016, allocations: 0.5582 MB / 1.031 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.07027, allocations: 24.98 kB / 1.031 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.0703, allocations: 43.56 kB / 1.031 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=103): time 3.176e-06/0.07031, allocations: 0 / 1.031 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=110): time 0.00587/0.07618, allocations: 3.114 MB / 1.034 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.07622, allocations: 64.41 kB / 1.034 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009852/0.07721, allocations: 0.873 MB / 1.035 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.07727, allocations: 45.7 kB / 1.035 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.07772, allocations: 0.757 MB / 1.036 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.078, allocations: 400.6 kB / 1.036 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003811/0.07838, allocations: 283.4 kB / 1.036 GB, free: 9.934 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.07848, allocations: 309.1 kB / 1.036 GB, free: 9.629 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.07909, allocations: 0.6168 MB / 1.037 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008266/0.07991, allocations: 1.109 MB / 1.038 GB, free: 7.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/0.08173, allocations: 1.832 MB / 1.04 GB, free: 5.633 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.08174, allocations: 8 kB / 1.04 GB, free: 5.625 MB / 0.9948 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002077/0.08382, allocations: 2.092 MB / 1.042 GB, free: 3.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.08384, allocations: 12 kB / 1.042 GB, free: 3.488 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.08385, allocations: 16.88 kB / 1.042 GB, free: 3.473 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004574/0.08431, allocations: 262.6 kB / 1.042 GB, free: 3.191 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/0.08498, allocations: 371.4 kB / 1.043 GB, free: 2.828 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5396/0.6246, allocations: 10.55 MB / 1.053 GB, free: 92 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.6256, allocations: 123.8 kB / 1.053 GB, free: 92 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/0.6257, allocations: 77.94 kB / 1.053 GB, free: 92 MB / 0.9948 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.0005955/0.6263, allocations: 404.2 kB / 1.054 GB, free: 91.89 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.6264, allocations: 130.2 kB / 1.054 GB, free: 91.89 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.6281, allocations: 1.68 MB / 1.055 GB, free: 91.24 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.6281, allocations: 11.41 kB / 1.055 GB, free: 91.24 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6281, allocations: 2.844 kB / 1.055 GB, free: 91.24 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.6281, allocations: 6.891 kB / 1.055 GB, free: 91.24 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.6312, allocations: 2.931 MB / 1.058 GB, free: 89.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.6312, allocations: 12.72 kB / 1.058 GB, free: 89.96 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.6316, allocations: 221.1 kB / 1.058 GB, free: 89.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003827/0.632, allocations: 249.2 kB / 1.059 GB, free: 89.84 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.6321, allocations: 24.38 kB / 1.059 GB, free: 89.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004105/0.6362, allocations: 10.54 MB / 1.069 GB, free: 79.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.6362, allocations: 7.469 kB / 1.069 GB, free: 79.84 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.638, allocations: 1.785 MB / 1.071 GB, free: 79 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003947/0.6384, allocations: 223.6 kB / 1.071 GB, free: 78.92 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-05/0.6385, allocations: 33.95 kB / 1.071 GB, free: 78.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003769/0.6389, allocations: 95.16 kB / 1.071 GB, free: 78.89 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.639, allocations: 95.14 kB / 1.071 GB, free: 78.87 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.6391, allocations: 36.16 kB / 1.071 GB, free: 78.86 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004705/0.6395, allocations: 0.5726 MB / 1.072 GB, free: 78.62 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6395, allocations: 0 / 1.072 GB, free: 78.62 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001013/0.6405, allocations: 392.9 kB / 1.072 GB, free: 78.57 MB / 0.9948 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.0002121/0.6408, allocations: 142.1 kB / 1.072 GB, free: 78.46 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.6427, allocations: 2.4 MB / 1.075 GB, free: 77.11 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6427, allocations: 2.656 kB / 1.075 GB, free: 77.11 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009601/0.6437, allocations: 1.577 MB / 1.076 GB, free: 76.02 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009944/0.6447, allocations: 348.1 kB / 1.076 GB, free: 75.93 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.6476, allocations: 2.895 MB / 1.079 GB, free: 74.47 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.6481, allocations: 0.7338 MB / 1.08 GB, free: 74.29 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.6483, allocations: 114.1 kB / 1.08 GB, free: 74.28 MB / 0.9948 GB Notification: Performance of SimCode: time 1.723e-06/0.6483, allocations: 0 / 1.08 GB, free: 74.28 MB / 0.9948 GB Notification: Performance of Templates: time 0.05689/0.7052, allocations: 59.72 MB / 1.138 GB, free: 55.32 MB / 0.9948 GB " [Timeout remaining time 299] 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: 11.710283109918237]