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.001292/0.001292, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001402/0.001402, allocations: 203.3 kB / 22.18 MB, free: 5.211 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.418/1.418, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.779/2.779, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.002015/0.002015, allocations: 75.88 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.701/0.703, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01465/0.7177, allocations: 11.6 MB / 1.285 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.7282, allocations: 5.984 MB / 1.291 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.7293, allocations: 51.69 kB / 1.291 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004702/0.734, allocations: 1.788 MB / 1.293 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003463/0.7375, allocations: 1.182 MB / 1.294 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.7399, allocations: 0.8196 MB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003131/0.743, allocations: 2.119 MB / 1.297 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.7443, allocations: 0.8994 MB / 1.298 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.7458, allocations: 0.8601 MB / 1.299 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.7473, allocations: 0.961 MB / 1.3 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.7475, allocations: 116 kB / 1.3 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.7497, allocations: 1.201 MB / 1.301 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005978/0.7503, allocations: 0.5412 MB / 1.302 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009381/0.7513, allocations: 0.7888 MB / 1.302 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003593/0.7549, allocations: 2.44 MB / 1.305 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7549, allocations: 0 / 1.305 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7549, allocations: 0 / 1.305 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.674e-05/0.7549, allocations: 0 / 1.305 GB, free: 5.102 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.003264/0.7582, allocations: 1.919 MB / 1.307 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.7582, allocations: 15.97 kB / 1.307 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004576/0.7628, allocations: 0.6747 MB / 1.307 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.7649, allocations: 1.005 MB / 1.308 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.482e-05/0.765, allocations: 102.9 kB / 1.308 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.7652, allocations: 128.3 kB / 1.308 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003388/0.7686, allocations: 2.206 MB / 1.311 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.351e-05/0.7686, allocations: 11.88 kB / 1.311 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.7688, allocations: 67.97 kB / 1.311 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002164/0.769, allocations: 162.3 kB / 1.311 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00296/0.7719, allocations: 1.863 MB / 1.313 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/0.7848, allocations: 12.47 MB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004408/0.7892, allocations: 1.878 MB / 1.327 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008635/0.7901, allocations: 0.5542 MB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.7902, allocations: 102.1 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.7903, allocations: 39.56 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=103): time 3.026e-06/0.7903, allocations: 0 / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=110): time 0.006415/0.7967, allocations: 3.736 MB / 1.331 GB, free: 8.695 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.7967, allocations: 64.39 kB / 1.331 GB, free: 8.617 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.7979, allocations: 0.9283 MB / 1.332 GB, free: 7.672 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.173e-05/0.798, allocations: 41.7 kB / 1.332 GB, free: 7.625 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005757/0.7986, allocations: 0.7455 MB / 1.333 GB, free: 6.871 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/0.7989, allocations: 412.5 kB / 1.333 GB, free: 6.465 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004057/0.7993, allocations: 287.4 kB / 1.333 GB, free: 6.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.7994, allocations: 301.1 kB / 1.334 GB, free: 5.883 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009651/0.8004, allocations: 0.6129 MB / 1.334 GB, free: 5.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.8017, allocations: 1.106 MB / 1.335 GB, free: 3.949 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/0.8042, allocations: 1.832 MB / 1.337 GB, free: 1.898 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.8042, allocations: 4 kB / 1.337 GB, free: 1.895 MB / 1.029 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003569/0.8077, allocations: 2.1 MB / 1.339 GB, free: 15.76 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.8078, allocations: 15.94 kB / 1.339 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.8078, allocations: 16 kB / 1.339 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008249/0.8086, allocations: 259.3 kB / 1.339 GB, free: 15.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.8099, allocations: 371.4 kB / 1.34 GB, free: 15.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.8203, allocations: 11.59 MB / 1.351 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.8216, allocations: 123.8 kB / 1.351 GB, free: 2.254 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.8217, allocations: 79.86 kB / 1.351 GB, free: 2.176 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.0006806/0.8224, allocations: 409.2 kB / 1.352 GB, free: 1.766 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.8226, allocations: 135.2 kB / 1.352 GB, free: 1.633 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/0.8256, allocations: 1.677 MB / 1.353 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.8256, allocations: 12 kB / 1.353 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8256, allocations: 4 kB / 1.353 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.8256, allocations: 7.969 kB / 1.353 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005508/0.8311, allocations: 3.288 MB / 1.357 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.8311, allocations: 7.938 kB / 1.357 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008974/0.832, allocations: 219.7 kB / 1.357 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007225/0.8327, allocations: 242.8 kB / 1.357 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/0.8328, allocations: 27.94 kB / 1.357 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009426/0.8422, allocations: 11.57 MB / 1.368 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.8422, allocations: 11.94 kB / 1.368 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/0.8451, allocations: 1.804 MB / 1.37 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006602/0.8458, allocations: 312.1 kB / 1.371 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.8459, allocations: 24 kB / 1.371 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/0.8467, allocations: 91.86 kB / 1.371 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.8469, allocations: 108.6 kB / 1.371 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-05/0.847, allocations: 28 kB / 1.371 GB, free: 12.77 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008187/0.8478, allocations: 0.6216 MB / 1.371 GB, free: 12.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8478, allocations: 0 / 1.371 GB, free: 12.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001341/0.8491, allocations: 392 kB / 1.372 GB, free: 11.76 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.0002319/0.8494, allocations: 139.5 kB / 1.372 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003649/0.853, allocations: 2.41 MB / 1.374 GB, free: 9.098 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.853, allocations: 4 kB / 1.374 GB, free: 9.094 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/0.8554, allocations: 1.579 MB / 1.376 GB, free: 7.414 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.857, allocations: 369 kB / 1.376 GB, free: 7.066 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004651/0.8617, allocations: 2.804 MB / 1.379 GB, free: 4.156 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.8628, allocations: 1.331 MB / 1.38 GB, free: 2.797 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009722/0.8637, allocations: 359.3 kB / 1.381 GB, free: 2.441 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.864, allocations: 95.42 kB / 1.381 GB, free: 2.348 MB / 1.076 GB Notification: Performance of SimCode: time 1.072e-06/0.864, allocations: 0 / 1.381 GB, free: 2.348 MB / 1.076 GB Notification: Performance of Templates: time 0.03163/0.8957, allocations: 18.07 MB / 1.398 GB, free: 456 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 gbode -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.019017978105694]