Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.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.001563/0.001563, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.00207/0.00207, allocations: 161 kB / 24.16 MB, free: 336 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.05/1.05, allocations: 177.2 MB / 204.6 MB, free: 5.477 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 2.007/2.007, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.03e-05, allocations: 4.984 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003794/0.003814, allocations: 3.294 MB / 0.7633 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.005385, allocations: 1.219 MB / 0.7645 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.005537, allocations: 23.75 kB / 0.7645 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.005978, allocations: 127.8 kB / 0.7646 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.006338, allocations: 281.4 kB / 0.7649 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.006612, allocations: 227.1 kB / 0.7651 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004864/0.007098, allocations: 0.7061 MB / 0.7658 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.007369, allocations: 250.1 kB / 0.766 GB, free: 500 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.007713, allocations: 378.9 kB / 0.7664 GB, free: 120 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.008001, allocations: 245 kB / 0.7666 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.008038, allocations: 28 kB / 0.7666 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.008178, allocations: 91.86 kB / 0.7667 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.008281, allocations: 151.5 kB / 0.7669 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.008393, allocations: 162.8 kB / 0.767 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.008737, allocations: 414.3 kB / 0.7674 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.008739, allocations: 0 / 0.7674 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.71e-07/0.00874, allocations: 0 / 0.7674 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.008745, allocations: 0 / 0.7674 GB, free: 15.05 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0005816/0.009327, allocations: 0.6358 MB / 0.768 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.009358, allocations: 11 kB / 0.7681 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006897/0.01005, allocations: 204.4 kB / 0.7683 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.01041, allocations: 365.4 kB / 0.7686 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.01043, allocations: 34.02 kB / 0.7686 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.01047, allocations: 28.38 kB / 0.7687 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.0109, allocations: 0.5345 MB / 0.7692 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.01092, allocations: 192 / 0.7692 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.01095, allocations: 21.02 kB / 0.7692 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-05/0.01101, allocations: 55.89 kB / 0.7693 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.01159, allocations: 186.1 kB / 0.7694 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.01313, allocations: 2.805 MB / 0.7722 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.01387, allocations: 0.5124 MB / 0.7727 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.265e-05/0.01395, allocations: 55.16 kB / 0.7727 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.01397, allocations: 11.94 kB / 0.7727 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.01399, allocations: 39.09 kB / 0.7728 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.014, allocations: 4.531 kB / 0.7728 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0008176/0.01481, allocations: 439.6 kB / 0.7732 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.01487, allocations: 106.8 kB / 0.7733 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.01508, allocations: 364.2 kB / 0.7736 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.0151, allocations: 33.7 kB / 0.7737 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.01522, allocations: 252.7 kB / 0.7739 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.656e-05/0.01529, allocations: 129.4 kB / 0.774 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.01538, allocations: 94.25 kB / 0.7741 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.01548, allocations: 350.7 kB / 0.7745 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.01555, allocations: 53.28 kB / 0.7745 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.01572, allocations: 264.2 kB / 0.7748 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.01601, allocations: 374.6 kB / 0.7751 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01602, allocations: 3.938 kB / 0.7751 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004108/0.01643, allocations: 389.1 kB / 0.7755 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.01645, allocations: 8 kB / 0.7755 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.01646, allocations: 12 kB / 0.7755 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002208/0.01668, allocations: 92.58 kB / 0.7756 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.01688, allocations: 100.9 kB / 0.7757 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.01915, allocations: 3.601 MB / 0.7792 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.01928, allocations: 16 kB / 0.7792 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.0193, allocations: 21.12 kB / 0.7793 GB, free: 2.07 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001194/0.01942, allocations: 161.8 kB / 0.7794 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.01949, allocations: 35.97 kB / 0.7794 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.01983, allocations: 269 kB / 0.7797 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.01983, allocations: 7.984 kB / 0.7797 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01984, allocations: 4 kB / 0.7797 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01984, allocations: 0 / 0.7797 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008202/0.02066, allocations: 0.8845 MB / 0.7806 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.02067, allocations: 7.938 kB / 0.7806 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.02078, allocations: 60.44 kB / 0.7806 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.02092, allocations: 77.66 kB / 0.7807 GB, free: 484 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.02094, allocations: 8 kB / 0.7807 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.02292, allocations: 3.6 MB / 0.7842 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.02292, allocations: 4 kB / 0.7842 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.0233, allocations: 0.6715 MB / 0.7849 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.02337, allocations: 57.27 kB / 0.785 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.0234, allocations: 8 kB / 0.785 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.02354, allocations: 8 kB / 0.785 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.02358, allocations: 43.81 kB / 0.785 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.02359, allocations: 8.688 kB / 0.785 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.097e-05/0.02369, allocations: 140.7 kB / 0.7852 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02369, allocations: 1.188 kB / 0.7852 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003587/0.02404, allocations: 120 kB / 0.7853 GB, free: 11.46 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001069/0.02415, allocations: 98.25 kB / 0.7854 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000526/0.02468, allocations: 0.593 MB / 0.7859 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.02469, allocations: 4 kB / 0.7859 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.02496, allocations: 448 kB / 0.7864 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/0.02545, allocations: 133.5 kB / 0.7865 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009716/0.02642, allocations: 0.8335 MB / 0.7873 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.612e-05/0.02652, allocations: 138.9 kB / 0.7874 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.02664, allocations: 58.42 kB / 0.7875 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.02682, allocations: 145.3 kB / 0.7876 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/0.02683, allocations: 0 / 0.7876 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of Templates: time 0.008214/0.03504, allocations: 6.328 MB / 0.7938 GB, free: 2.734 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_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.304290350992233]