Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 443.5 MB / 0.7304 GB, free: 13.85 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 71.88 kB / 1.059 GB, free: 316 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4104, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01586/0.4263, allocations: 11.58 MB / 1.227 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.4392, allocations: 6.003 MB / 1.233 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.4412, allocations: 51.69 kB / 1.233 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005748/0.447, allocations: 1.778 MB / 1.235 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004786/0.4517, allocations: 1.19 MB / 1.236 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.4548, allocations: 0.8175 MB / 1.237 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004195/0.459, allocations: 2.123 MB / 1.239 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.4609, allocations: 0.9005 MB / 1.24 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.4629, allocations: 0.8484 MB / 1.241 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.4651, allocations: 0.9727 MB / 1.242 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005462/0.4656, allocations: 112 kB / 1.242 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.4689, allocations: 1.212 MB / 1.243 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.4699, allocations: 0.5335 MB / 1.244 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.4719, allocations: 0.7927 MB / 1.244 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005807/0.4777, allocations: 2.428 MB / 1.247 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4777, allocations: 0 / 1.247 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4777, allocations: 0 / 1.247 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001286/0.4778, allocations: 3.984 kB / 1.247 GB, free: 15.8 MB / 0.9981 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.004531/0.4823, allocations: 1.923 MB / 1.249 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.4824, allocations: 8.031 kB / 1.249 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004409/0.4868, allocations: 0.6748 MB / 1.249 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.4887, allocations: 1.017 MB / 1.25 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-05/0.4888, allocations: 90.91 kB / 1.25 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002298/0.489, allocations: 128.3 kB / 1.25 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003578/0.4926, allocations: 2.214 MB / 1.253 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.802e-05/0.4927, allocations: 15.88 kB / 1.253 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.4928, allocations: 51.98 kB / 1.253 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002184/0.493, allocations: 170.3 kB / 1.253 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003084/0.4961, allocations: 1.863 MB / 1.255 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7727/1.269, allocations: 12.45 MB / 1.267 GB, free: 40.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00416/1.273, allocations: 1.86 MB / 1.269 GB, free: 40.21 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008362/1.274, allocations: 0.5575 MB / 1.269 GB, free: 40.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/1.274, allocations: 103.1 kB / 1.269 GB, free: 40.11 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/1.274, allocations: 46.84 kB / 1.269 GB, free: 40.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=103): time 3.998e-06/1.274, allocations: 3.656 kB / 1.269 GB, free: 40.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110): time 0.006312/1.28, allocations: 3.721 MB / 1.273 GB, free: 39.04 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/1.28, allocations: 72.61 kB / 1.273 GB, free: 38.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/1.282, allocations: 0.9209 MB / 1.274 GB, free: 38.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/1.282, allocations: 45.42 kB / 1.274 GB, free: 38.79 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005069/1.282, allocations: 0.7458 MB / 1.275 GB, free: 38.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003292/1.283, allocations: 402.7 kB / 1.275 GB, free: 38.26 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004683/1.283, allocations: 291.9 kB / 1.275 GB, free: 38.22 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.464e-05/1.283, allocations: 304.7 kB / 1.276 GB, free: 37.92 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/1.284, allocations: 0.6114 MB / 1.276 GB, free: 37.92 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/1.286, allocations: 1.105 MB / 1.277 GB, free: 37.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/1.289, allocations: 1.832 MB / 1.279 GB, free: 36.17 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/1.289, allocations: 4.438 kB / 1.279 GB, free: 36.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004234/1.293, allocations: 2.103 MB / 1.281 GB, free: 35.38 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/1.293, allocations: 12.19 kB / 1.281 GB, free: 35.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/1.293, allocations: 16.06 kB / 1.281 GB, free: 35.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008486/1.294, allocations: 263.9 kB / 1.281 GB, free: 35.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/1.295, allocations: 374.1 kB / 1.282 GB, free: 35.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008074/1.303, allocations: 11.59 MB / 1.293 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.305, allocations: 128.3 kB / 1.293 GB, free: 23.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/1.305, allocations: 70.44 kB / 1.293 GB, free: 23.8 MB / 0.9981 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.0008965/1.306, allocations: 407.6 kB / 1.294 GB, free: 23.55 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/1.306, allocations: 135.6 kB / 1.294 GB, free: 23.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002898/1.309, allocations: 1.669 MB / 1.296 GB, free: 22.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/1.309, allocations: 12.84 kB / 1.296 GB, free: 22.81 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.309, allocations: 3.75 kB / 1.296 GB, free: 22.81 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/1.309, allocations: 5.719 kB / 1.296 GB, free: 22.81 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00505/1.314, allocations: 3.295 MB / 1.299 GB, free: 21.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/1.314, allocations: 5.781 kB / 1.299 GB, free: 21.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000844/1.315, allocations: 224.3 kB / 1.299 GB, free: 21.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000668/1.316, allocations: 241.8 kB / 1.299 GB, free: 21.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.945e-05/1.316, allocations: 28.72 kB / 1.299 GB, free: 21.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006731/1.323, allocations: 11.58 MB / 1.311 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.323, allocations: 9.375 kB / 1.311 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002991/1.326, allocations: 1.802 MB / 1.312 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006582/1.326, allocations: 312.3 kB / 1.313 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/1.327, allocations: 32.5 kB / 1.313 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007005/1.327, allocations: 87.38 kB / 1.313 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/1.328, allocations: 105.5 kB / 1.313 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.619e-05/1.328, allocations: 35.28 kB / 1.313 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008973/1.328, allocations: 0.6241 MB / 1.313 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.328, allocations: 0 / 1.313 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00181/1.33, allocations: 392.4 kB / 1.314 GB, free: 8.305 MB / 0.9981 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.0002265/1.331, allocations: 138.6 kB / 1.314 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003699/1.334, allocations: 2.407 MB / 1.316 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.334, allocations: 1.531 kB / 1.316 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002095/1.336, allocations: 1.585 MB / 1.318 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/1.338, allocations: 360.6 kB / 1.318 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004771/1.343, allocations: 2.801 MB / 1.321 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.344, allocations: 1.327 MB / 1.322 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001219/1.345, allocations: 362.7 kB / 1.323 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/1.346, allocations: 95.81 kB / 1.323 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of SimCode: time 2.685e-06/1.346, allocations: 0 / 1.323 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of Templates: time 0.04733/1.393, allocations: 18.07 MB / 1.34 GB, free: 15.31 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.246248330920935]