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.001409/0.001409, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001655/0.001655, allocations: 165 kB / 24.16 MB, free: 328 kB / 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 1.012/1.012, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.946/1.946, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|sen_D.S.[0-9,]+.|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.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.862e-05, allocations: 6.781 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.006317/0.006346, allocations: 6.751 MB / 0.7667 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.006245/0.01259, allocations: 2.511 MB / 0.7691 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.01403, allocations: 75.31 kB / 0.7692 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.01526, allocations: 329.4 kB / 0.7695 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002547/0.01781, allocations: 0.8584 MB / 0.7703 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.01938, allocations: 0.5657 MB / 0.7709 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.003478/0.02286, allocations: 2.205 MB / 0.773 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.02495, allocations: 1.077 MB / 0.7741 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.02736, allocations: 1.219 MB / 0.7753 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.02899, allocations: 0.8335 MB / 0.7761 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003769/0.02937, allocations: 114.9 kB / 0.7762 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007147/0.03008, allocations: 251.6 kB / 0.7764 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004392/0.03052, allocations: 0.5686 MB / 0.777 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0005782/0.0311, allocations: 0.522 MB / 0.7775 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.03252, allocations: 1.288 MB / 0.7788 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.03253, allocations: 0 / 0.7788 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.282e-06/0.03253, allocations: 0 / 0.7788 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.67e-05/0.03257, allocations: 4 kB / 0.7788 GB, free: 3.379 MB / 0.7292 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.002263/0.03484, allocations: 1.649 MB / 0.7804 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.129e-05/0.03491, allocations: 15.88 kB / 0.7804 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003231/0.03814, allocations: 0.7296 MB / 0.7811 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.0398, allocations: 0.8642 MB / 0.782 GB, free: 80 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.514e-05/0.03988, allocations: 98.97 kB / 0.7821 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.04006, allocations: 132.8 kB / 0.7822 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.04185, allocations: 1.581 MB / 0.7837 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.241e-05/0.0419, allocations: 12.06 kB / 0.7837 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.042, allocations: 64.34 kB / 0.7838 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/0.04216, allocations: 167.7 kB / 0.784 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.04323, allocations: 0.5928 MB / 0.7845 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006407/0.04964, allocations: 7.813 MB / 0.7922 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.05144, allocations: 1.349 MB / 0.7935 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.05166, allocations: 163.7 kB / 0.7936 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.944e-05/0.05176, allocations: 24.98 kB / 0.7937 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.05179, allocations: 44.34 kB / 0.7937 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=103): time 3.106e-06/0.0518, allocations: 4 kB / 0.7937 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=110): time 0.002244/0.05404, allocations: 1.245 MB / 0.7949 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.05408, allocations: 69.28 kB / 0.795 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007264/0.0548, allocations: 0.7808 MB / 0.7958 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.05485, allocations: 46.73 kB / 0.7958 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.05516, allocations: 0.6652 MB / 0.7964 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.05538, allocations: 400.5 kB / 0.7968 GB, free: 240 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.05563, allocations: 268.2 kB / 0.7971 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.0557, allocations: 309.1 kB / 0.7974 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.05591, allocations: 171.9 kB / 0.7975 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/0.05635, allocations: 0.6769 MB / 0.7982 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008599/0.05721, allocations: 1.001 MB / 0.7992 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.05722, allocations: 12 kB / 0.7992 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001235/0.05846, allocations: 1.055 MB / 0.8002 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.05848, allocations: 14.19 kB / 0.8002 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.0585, allocations: 21.59 kB / 0.8003 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004455/0.05895, allocations: 226.9 kB / 0.8005 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/0.05962, allocations: 327.5 kB / 0.8008 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00556/0.06518, allocations: 9.582 MB / 0.8101 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.06625, allocations: 55.94 kB / 0.8102 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.532e-05/0.06634, allocations: 55.98 kB / 0.8102 GB, free: 1.258 MB / 0.7605 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.0005394/0.06688, allocations: 218.7 kB / 0.8105 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.06708, allocations: 115.9 kB / 0.8106 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.06812, allocations: 0.7751 MB / 0.8113 GB, free: 116 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.06813, allocations: 13.09 kB / 0.8113 GB, free: 104 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.06814, allocations: 0 / 0.8113 GB, free: 104 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.06814, allocations: 3.984 kB / 0.8113 GB, free: 100 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.07036, allocations: 1.573 MB / 0.8129 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.07037, allocations: 5.656 kB / 0.8129 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/0.07081, allocations: 183.7 kB / 0.8131 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004167/0.07123, allocations: 207.8 kB / 0.8133 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.07128, allocations: 31.94 kB / 0.8133 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005054/0.07633, allocations: 9.566 MB / 0.8226 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.07634, allocations: 4 kB / 0.8226 GB, free: 3.625 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.07741, allocations: 0.9558 MB / 0.8236 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/0.07772, allocations: 171.1 kB / 0.8237 GB, free: 2.379 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.644e-05/0.07782, allocations: 35.92 kB / 0.8238 GB, free: 2.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.07811, allocations: 20 kB / 0.8238 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.07828, allocations: 104.7 kB / 0.8239 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.07832, allocations: 28 kB / 0.8239 GB, free: 2.195 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000321/0.07864, allocations: 364.4 kB / 0.8243 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.07864, allocations: 4 kB / 0.8243 GB, free: 1.824 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001123/0.07976, allocations: 399.9 kB / 0.8246 GB, free: 1.434 MB / 0.7761 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.0002182/0.07998, allocations: 120.2 kB / 0.8248 GB, free: 1.309 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.08153, allocations: 1.638 MB / 0.8264 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.05e-05/0.08156, allocations: 17.81 kB / 0.8264 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0009122/0.08247, allocations: 1.238 MB / 0.8276 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009547/0.08343, allocations: 340.8 kB / 0.8279 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.08709, allocations: 2.474 MB / 0.8303 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.08741, allocations: 361.3 kB / 0.8307 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005474/0.08796, allocations: 183.1 kB / 0.8308 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005441/0.0885, allocations: 325.1 kB / 0.8312 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of SimCode: time 2.655e-06/0.0885, allocations: 0 / 0.8312 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of Templates: time 0.02524/0.1137, allocations: 18.6 MB / 0.8493 GB, free: 8.141 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.633459306322038]