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.001011/0.001011, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009913/0.0009913, allocations: 167.1 kB / 24.87 MB, free: 8.891 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 1.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.965/1.965, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.633e-06/1.633e-06, allocations: 0 / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.722e-05, allocations: 2.906 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008567/0.008594, allocations: 6.698 MB / 0.8193 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004841/0.01343, allocations: 2.432 MB / 0.8217 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006292/0.01406, allocations: 76.22 kB / 0.8218 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008907/0.01495, allocations: 330.2 kB / 0.8221 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.01656, allocations: 0.8668 MB / 0.8229 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.01768, allocations: 0.5605 MB / 0.8235 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002449/0.02013, allocations: 2.209 MB / 0.8256 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.02153, allocations: 1.018 MB / 0.8266 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.02315, allocations: 1.22 MB / 0.8278 GB, free: 1.984 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.02436, allocations: 0.8645 MB / 0.8287 GB, free: 1.121 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002079/0.02457, allocations: 112 kB / 0.8288 GB, free: 1.012 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004813/0.02505, allocations: 243.7 kB / 0.829 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004884/0.02554, allocations: 0.5724 MB / 0.8296 GB, free: 204 kB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000588/0.02613, allocations: 0.5244 MB / 0.8301 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.02753, allocations: 1.292 MB / 0.8313 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.02753, allocations: 0 / 0.8313 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.062e-06/0.02753, allocations: 0 / 0.8313 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.158e-05/0.02756, allocations: 0 / 0.8313 GB, free: 14.38 MB / 0.7917 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.002296/0.02986, allocations: 1.817 MB / 0.8331 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.0299, allocations: 12.03 kB / 0.8331 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003147/0.03304, allocations: 0.757 MB / 0.8339 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.03446, allocations: 0.9195 MB / 0.8348 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.996e-05/0.03453, allocations: 94.89 kB / 0.8349 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.03471, allocations: 132.3 kB / 0.835 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.03653, allocations: 1.737 MB / 0.8367 GB, free: 8.5 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-05/0.03658, allocations: 12.06 kB / 0.8367 GB, free: 8.488 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.03671, allocations: 60.34 kB / 0.8367 GB, free: 8.43 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002121/0.03693, allocations: 166.2 kB / 0.8369 GB, free: 8.266 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.03818, allocations: 0.683 MB / 0.8376 GB, free: 7.57 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008027/0.0462, allocations: 11.09 MB / 0.8484 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002804/0.04901, allocations: 1.36 MB / 0.8497 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.04936, allocations: 186.6 kB / 0.8499 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.04948, allocations: 32.92 kB / 0.8499 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.04952, allocations: 46.39 kB / 0.85 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=103): time 3.296e-06/0.04952, allocations: 0 / 0.85 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=110): time 0.003312/0.05283, allocations: 1.439 MB / 0.8514 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.05287, allocations: 68.34 kB / 0.8515 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008576/0.05373, allocations: 0.8552 MB / 0.8523 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.05379, allocations: 41.7 kB / 0.8523 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005308/0.05432, allocations: 0.7949 MB / 0.8531 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.05464, allocations: 412.5 kB / 0.8535 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004167/0.05506, allocations: 289 kB / 0.8538 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.05521, allocations: 484.7 kB / 0.8542 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/0.05563, allocations: 211.8 kB / 0.8544 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008932/0.05652, allocations: 0.911 MB / 0.8553 GB, free: 4.605 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.05799, allocations: 1.231 MB / 0.8565 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.058, allocations: 4 kB / 0.8565 GB, free: 3.074 MB / 0.8073 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002295/0.06029, allocations: 1.322 MB / 0.8578 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.06032, allocations: 15.94 kB / 0.8578 GB, free: 1.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.06035, allocations: 16 kB / 0.8579 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006722/0.06102, allocations: 225.9 kB / 0.8581 GB, free: 1.426 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.06207, allocations: 315.5 kB / 0.8584 GB, free: 1.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008512/0.07058, allocations: 13.8 MB / 0.8719 GB, free: 2.402 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.07109, allocations: 47.94 kB / 0.8719 GB, free: 2.355 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-05/0.07115, allocations: 59.98 kB / 0.872 GB, free: 2.297 MB / 0.823 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.0003387/0.07149, allocations: 268 kB / 0.8722 GB, free: 2.023 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.07165, allocations: 163.2 kB / 0.8724 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.07273, allocations: 0.8971 MB / 0.8732 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.07273, allocations: 12 kB / 0.8733 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.07274, allocations: 4 kB / 0.8733 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.07275, allocations: 7.969 kB / 0.8733 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.07485, allocations: 1.841 MB / 0.8751 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.07485, allocations: 8.672 kB / 0.8751 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/0.07523, allocations: 163.8 kB / 0.8752 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003495/0.07558, allocations: 209.3 kB / 0.8754 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.07562, allocations: 35.98 kB / 0.8755 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005036/0.08066, allocations: 13.78 MB / 0.8889 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.08066, allocations: 8 kB / 0.8889 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.0817, allocations: 1.189 MB / 0.8901 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.08194, allocations: 199 kB / 0.8903 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.399e-05/0.08202, allocations: 39.88 kB / 0.8903 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.08229, allocations: 20 kB / 0.8903 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.08241, allocations: 104.7 kB / 0.8904 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.08244, allocations: 28 kB / 0.8905 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003036/0.08275, allocations: 490 kB / 0.8909 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.08275, allocations: 0 / 0.8909 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009247/0.08367, allocations: 392 kB / 0.8913 GB, free: 13.16 MB / 0.8542 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.0001721/0.08384, allocations: 148.5 kB / 0.8914 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.08533, allocations: 2.132 MB / 0.8935 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.08533, allocations: 4.062 kB / 0.8935 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009499/0.08628, allocations: 1.694 MB / 0.8952 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009341/0.08721, allocations: 352.1 kB / 0.8955 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.08988, allocations: 2.504 MB / 0.898 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.09016, allocations: 365.2 kB / 0.8983 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005538/0.09071, allocations: 175.1 kB / 0.8985 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007031/0.09142, allocations: 377.9 kB / 0.8988 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/0.09142, allocations: 0 / 0.8988 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of Templates: time 0.02127/0.1127, allocations: 18.99 MB / 0.9174 GB, free: 2.387 MB / 0.8698 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 -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.633793916087598]