Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001669/0.001669, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002263/0.002263, allocations: 192.1 kB / 22.17 MB, free: 5.652 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.461/1.461, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 67.89 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7538/0.7559, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01515/0.771, allocations: 11.6 MB / 1.285 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00988/0.7809, allocations: 5.976 MB / 1.291 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009833/0.7819, allocations: 51.69 kB / 1.291 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004556/0.7865, allocations: 1.797 MB / 1.293 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.7898, allocations: 1.186 MB / 1.294 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.7921, allocations: 0.8149 MB / 1.295 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003026/0.7951, allocations: 2.123 MB / 1.297 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.7964, allocations: 0.8965 MB / 1.298 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.7977, allocations: 0.8562 MB / 1.299 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.7991, allocations: 0.965 MB / 1.3 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.7993, allocations: 112 kB / 1.3 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.8017, allocations: 1.204 MB / 1.301 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006379/0.8023, allocations: 0.5452 MB / 1.302 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009038/0.8032, allocations: 0.7888 MB / 1.302 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003757/0.807, allocations: 2.431 MB / 1.305 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.807, allocations: 0 / 1.305 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.807, allocations: 0 / 1.305 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.366e-05/0.807, allocations: 0 / 1.305 GB, free: 5.051 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.00366/0.8107, allocations: 1.923 MB / 1.307 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.8107, allocations: 8.031 kB / 1.307 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004712/0.8154, allocations: 0.6825 MB / 1.307 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.8177, allocations: 1.009 MB / 1.308 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.188e-05/0.8178, allocations: 94.89 kB / 1.308 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.818, allocations: 128.3 kB / 1.308 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003401/0.8214, allocations: 2.206 MB / 1.311 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.567e-05/0.8214, allocations: 19.88 kB / 1.311 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.8216, allocations: 59.97 kB / 1.311 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002212/0.8218, allocations: 162.3 kB / 1.311 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/0.8248, allocations: 1.863 MB / 1.313 GB, free: 12.56 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/0.8384, allocations: 12.46 MB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004451/0.8428, allocations: 1.874 MB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009013/0.8437, allocations: 0.5503 MB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.8439, allocations: 102.1 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.8439, allocations: 39.56 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=103): time 2.735e-06/0.8439, allocations: 0 / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=110): time 0.006577/0.8505, allocations: 3.74 MB / 1.331 GB, free: 8.652 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.8506, allocations: 64.41 kB / 1.331 GB, free: 8.574 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.8518, allocations: 0.9283 MB / 1.332 GB, free: 7.629 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.82e-05/0.8518, allocations: 41.7 kB / 1.332 GB, free: 7.582 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005484/0.8524, allocations: 0.7494 MB / 1.333 GB, free: 6.824 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003354/0.8527, allocations: 404.5 kB / 1.333 GB, free: 6.426 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004089/0.8531, allocations: 287.4 kB / 1.333 GB, free: 6.141 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.8533, allocations: 301.1 kB / 1.334 GB, free: 5.844 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009767/0.8542, allocations: 0.6129 MB / 1.334 GB, free: 5.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.8556, allocations: 1.106 MB / 1.335 GB, free: 3.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/0.8581, allocations: 1.828 MB / 1.337 GB, free: 1.863 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.8581, allocations: 8 kB / 1.337 GB, free: 1.855 MB / 1.029 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003696/0.8618, allocations: 2.108 MB / 1.339 GB, free: 15.71 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.8619, allocations: 15.94 kB / 1.339 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.8619, allocations: 16 kB / 1.339 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008617/0.8627, allocations: 263.3 kB / 1.339 GB, free: 15.4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.8641, allocations: 371.4 kB / 1.34 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.8743, allocations: 11.59 MB / 1.351 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.8758, allocations: 127.8 kB / 1.351 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.8761, allocations: 75.91 kB / 1.351 GB, free: 2.129 MB / 1.045 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.0008826/0.877, allocations: 404.1 kB / 1.352 GB, free: 1.727 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/0.8773, allocations: 139.1 kB / 1.352 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00303/0.8803, allocations: 1.677 MB / 1.353 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.8803, allocations: 12 kB / 1.353 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.8804, allocations: 4 kB / 1.353 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.8804, allocations: 7.969 kB / 1.353 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005788/0.8862, allocations: 3.296 MB / 1.357 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.8862, allocations: 4 kB / 1.357 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009069/0.8871, allocations: 227.6 kB / 1.357 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007449/0.8878, allocations: 235 kB / 1.357 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.728e-05/0.8879, allocations: 39.92 kB / 1.357 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009679/0.8976, allocations: 11.55 MB / 1.368 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/0.8976, allocations: 11.94 kB / 1.368 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/0.9006, allocations: 1.808 MB / 1.37 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007252/0.9013, allocations: 316.1 kB / 1.371 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/0.9016, allocations: 31.98 kB / 1.371 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/0.9024, allocations: 87.88 kB / 1.371 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/0.9026, allocations: 104.6 kB / 1.371 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.516e-05/0.9027, allocations: 32 kB / 1.371 GB, free: 12.72 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008641/0.9035, allocations: 0.6216 MB / 1.371 GB, free: 12.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9035, allocations: 4 kB / 1.371 GB, free: 12.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001451/0.905, allocations: 392 kB / 1.372 GB, free: 11.7 MB / 1.076 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.0002547/0.9052, allocations: 135.5 kB / 1.372 GB, free: 11.56 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003805/0.909, allocations: 2.414 MB / 1.374 GB, free: 9.043 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.909, allocations: 0 / 1.374 GB, free: 9.043 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.9113, allocations: 1.583 MB / 1.376 GB, free: 7.359 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.9131, allocations: 357.4 kB / 1.376 GB, free: 7.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.918, allocations: 2.803 MB / 1.379 GB, free: 4.113 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.9192, allocations: 1.331 MB / 1.38 GB, free: 2.754 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009576/0.9202, allocations: 355.3 kB / 1.381 GB, free: 2.402 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.9205, allocations: 99.41 kB / 1.381 GB, free: 2.305 MB / 1.076 GB Notification: Performance of SimCode: time 7.61e-07/0.9205, allocations: 0 / 1.381 GB, free: 2.305 MB / 1.076 GB Notification: Performance of Templates: time 0.03481/0.9553, allocations: 18.07 MB / 1.398 GB, free: 404 kB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.204721414018422]