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.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.0008914/0.0008914, allocations: 80.48 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.0008716/0.0008716, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.8794/0.8794, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.698/1.698, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.813e-06/1.813e-06, allocations: 0 / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.655e-05, allocations: 8.953 kB / 0.9517 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008271/0.008298, allocations: 10.51 MB / 0.962 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.006049/0.01435, allocations: 5.578 MB / 0.9674 GB, free: 2.82 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005312/0.01488, allocations: 71.31 kB / 0.9675 GB, free: 2.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.01694, allocations: 1.734 MB / 0.9692 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.01857, allocations: 1.208 MB / 0.9704 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.0198, allocations: 0.8217 MB / 0.9712 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001364/0.02117, allocations: 2.185 MB / 0.9733 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008524/0.02202, allocations: 1.025 MB / 0.9743 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009889/0.02301, allocations: 1.208 MB / 0.9755 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009896/0.024, allocations: 0.8295 MB / 0.9763 GB, free: 9.691 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.02411, allocations: 116 kB / 0.9764 GB, free: 9.578 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.02553, allocations: 1.075 MB / 0.9775 GB, free: 8.5 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.0259, allocations: 0.5686 MB / 0.978 GB, free: 7.93 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.02626, allocations: 0.5338 MB / 0.9786 GB, free: 7.395 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.02803, allocations: 2.484 MB / 0.981 GB, free: 4.902 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.02803, allocations: 0 / 0.981 GB, free: 4.902 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.833e-06/0.02803, allocations: 0 / 0.981 GB, free: 4.902 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.02805, allocations: 3.938 kB / 0.981 GB, free: 4.898 MB / 0.9323 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.001765/0.02982, allocations: 1.825 MB / 0.9828 GB, free: 3.031 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.02986, allocations: 8.031 kB / 0.9828 GB, free: 3.023 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/0.03213, allocations: 0.6864 MB / 0.9834 GB, free: 2.336 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009989/0.03313, allocations: 0.9128 MB / 0.9843 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/0.03318, allocations: 98.89 kB / 0.9844 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.03332, allocations: 132.3 kB / 0.9846 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.03525, allocations: 2.404 MB / 0.9869 GB, free: 14.49 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/0.03528, allocations: 12.06 kB / 0.9869 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.471e-05/0.03537, allocations: 60.36 kB / 0.987 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.03549, allocations: 170.2 kB / 0.9871 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.03726, allocations: 1.859 MB / 0.9889 GB, free: 12.38 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00612/0.04338, allocations: 9.18 MB / 0.9979 GB, free: 2.918 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.0457, allocations: 1.866 MB / 0.9997 GB, free: 1.043 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.04622, allocations: 0.5542 MB / 1 GB, free: 496 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-05/0.04631, allocations: 24.98 kB / 1 GB, free: 472 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.04633, allocations: 47.56 kB / 1 GB, free: 416 kB / 0.948 GB Notification: Performance of pre-optimization done (n=103): time 3.065e-06/0.04634, allocations: 4 kB / 1 GB, free: 412 kB / 0.948 GB Notification: Performance of matching and sorting (n=110): time 0.003411/0.04975, allocations: 3.11 MB / 1.003 GB, free: 13.27 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.04978, allocations: 64.41 kB / 1.003 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/0.05056, allocations: 0.873 MB / 1.004 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.0506, allocations: 45.7 kB / 1.004 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.05092, allocations: 0.7609 MB / 1.005 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.0511, allocations: 396.6 kB / 1.005 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.05134, allocations: 287.4 kB / 1.006 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.05141, allocations: 305.1 kB / 1.006 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005801/0.05199, allocations: 0.6129 MB / 1.007 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007862/0.05277, allocations: 1.113 MB / 1.008 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.05422, allocations: 1.832 MB / 1.01 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.05422, allocations: 4 kB / 1.01 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00213/0.05635, allocations: 2.097 MB / 1.012 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.05638, allocations: 14.5 kB / 1.012 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.05639, allocations: 16 kB / 1.012 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004395/0.05683, allocations: 262.8 kB / 1.012 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006309/0.05746, allocations: 371.4 kB / 1.012 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004839/0.0623, allocations: 10.55 MB / 1.022 GB, free: 8.332 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.06283, allocations: 123.8 kB / 1.023 GB, free: 8.211 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.0629, allocations: 76.23 kB / 1.023 GB, free: 8.137 MB / 0.9792 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.0004266/0.06332, allocations: 411.3 kB / 1.023 GB, free: 7.727 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.06343, allocations: 127.2 kB / 1.023 GB, free: 7.602 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/0.06526, allocations: 1.679 MB / 1.025 GB, free: 5.891 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.06527, allocations: 12 kB / 1.025 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.06527, allocations: 7.984 kB / 1.025 GB, free: 5.871 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.06528, allocations: 3.984 kB / 1.025 GB, free: 5.867 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.06814, allocations: 2.93 MB / 1.028 GB, free: 2.809 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.06815, allocations: 4 kB / 1.028 GB, free: 2.805 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.06855, allocations: 223.6 kB / 1.028 GB, free: 2.586 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000347/0.0689, allocations: 247 kB / 1.028 GB, free: 2.32 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.06894, allocations: 24 kB / 1.028 GB, free: 2.297 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004494/0.07343, allocations: 10.55 MB / 1.039 GB, free: 6.922 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.07344, allocations: 7.938 kB / 1.039 GB, free: 6.914 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.07505, allocations: 1.784 MB / 1.04 GB, free: 5.02 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.07533, allocations: 223.1 kB / 1.04 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.042e-05/0.0754, allocations: 27.94 kB / 1.04 GB, free: 4.773 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.07575, allocations: 95.86 kB / 1.041 GB, free: 4.68 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.07586, allocations: 108.8 kB / 1.041 GB, free: 4.574 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.07589, allocations: 32 kB / 1.041 GB, free: 4.543 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000419/0.07631, allocations: 0.5725 MB / 1.041 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.91e-07/0.07631, allocations: 0 / 1.041 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008193/0.07713, allocations: 392 kB / 1.042 GB, free: 3.578 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.0001787/0.07731, allocations: 150.9 kB / 1.042 GB, free: 3.422 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001999/0.07931, allocations: 2.395 MB / 1.044 GB, free: 0.9258 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.07931, allocations: 0 / 1.044 GB, free: 0.9258 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.4172/0.4965, allocations: 1.581 MB / 1.046 GB, free: 128.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.4979, allocations: 339.5 kB / 1.046 GB, free: 128.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.5011, allocations: 2.885 MB / 1.049 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.5016, allocations: 0.7417 MB / 1.05 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.5019, allocations: 110.6 kB / 1.05 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of SimCode: time 1.803e-06/0.5019, allocations: 0 / 1.05 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of Templates: time 0.05473/0.5566, allocations: 59.7 MB / 1.108 GB, free: 110.3 MB / 0.9948 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.14271396305412]