Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001944/0.001944, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002422/0.002422, allocations: 163.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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 2.709/2.709, allocations: 359 MB / 0.6037 GB, free: 14.94 MB / 0.5762 GB " [Timeout remaining time 177] 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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_11_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.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.867e-06/3.867e-06, allocations: 4 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.335e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006699/0.006732, allocations: 4.089 MB / 0.955 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004364/0.0111, allocations: 2.303 MB / 0.9572 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003886/0.01148, allocations: 27.75 kB / 0.9572 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.01282, allocations: 381.3 kB / 0.9576 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.01396, allocations: 393.7 kB / 0.958 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009258/0.01489, allocations: 323 kB / 0.9583 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.01594, allocations: 0.6983 MB / 0.959 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005341/0.01647, allocations: 238 kB / 0.9592 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007742/0.01725, allocations: 367.1 kB / 0.9596 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005208/0.01777, allocations: 243.2 kB / 0.9598 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.098e-05/0.01785, allocations: 28 kB / 0.9598 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008029/0.01865, allocations: 386.9 kB / 0.9602 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.01888, allocations: 159.4 kB / 0.9603 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.01915, allocations: 159.6 kB / 0.9605 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.02041, allocations: 0.7476 MB / 0.9612 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.02042, allocations: 4 kB / 0.9612 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.442e-06/0.02042, allocations: 0 / 0.9612 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.02044, allocations: 0 / 0.9612 GB, free: 1.023 MB / 0.8575 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.001524/0.02196, allocations: 0.7343 MB / 0.9619 GB, free: 264 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.02201, allocations: 8.031 kB / 0.9619 GB, free: 256 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.02357, allocations: 184.4 kB / 0.9621 GB, free: 72 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/0.02433, allocations: 376.8 kB / 0.9625 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.02435, allocations: 21.38 kB / 0.9625 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-05/0.02444, allocations: 36.36 kB / 0.9625 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.02556, allocations: 0.7304 MB / 0.9632 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.02559, allocations: 8.125 kB / 0.9633 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.093e-05/0.02564, allocations: 12.38 kB / 0.9633 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.514e-05/0.02574, allocations: 51.91 kB / 0.9633 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008613/0.0266, allocations: 0.4915 MB / 0.9638 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/0.03006, allocations: 3.121 MB / 0.9668 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.03195, allocations: 0.6053 MB / 0.9674 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.03222, allocations: 170.5 kB / 0.9676 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.03225, allocations: 0 / 0.9676 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.03228, allocations: 46.48 kB / 0.9676 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.03228, allocations: 0 / 0.9676 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002473/0.03476, allocations: 1.068 MB / 0.9687 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.03484, allocations: 106.8 kB / 0.9688 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000445/0.03529, allocations: 385.4 kB / 0.9692 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.03532, allocations: 37.64 kB / 0.9692 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.03556, allocations: 284.1 kB / 0.9695 GB, free: 8.184 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.03566, allocations: 123 kB / 0.9696 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.03582, allocations: 102.2 kB / 0.9697 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.03601, allocations: 350.8 kB / 0.97 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.03632, allocations: 177.2 kB / 0.9702 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.03681, allocations: 380.1 kB / 0.9705 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000835/0.03764, allocations: 0.5832 MB / 0.9711 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.03765, allocations: 4 kB / 0.9711 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001298/0.03895, allocations: 0.6787 MB / 0.9718 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.03897, allocations: 11.19 kB / 0.9718 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.03898, allocations: 7.984 kB / 0.9718 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004138/0.0394, allocations: 94.52 kB / 0.9719 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.03983, allocations: 115.8 kB / 0.972 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003711/0.04354, allocations: 3.957 MB / 0.9759 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.04393, allocations: 27.97 kB / 0.9759 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.04397, allocations: 24 kB / 0.9759 GB, free: 1.047 MB / 0.8731 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.0002668/0.04423, allocations: 201.9 kB / 0.9761 GB, free: 0.8398 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.04436, allocations: 51.7 kB / 0.9762 GB, free: 0.7891 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009846/0.04534, allocations: 0.5144 MB / 0.9767 GB, free: 264 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.04535, allocations: 4 kB / 0.9767 GB, free: 260 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.04536, allocations: 4 kB / 0.9767 GB, free: 256 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.04537, allocations: 3.984 kB / 0.9767 GB, free: 252 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.04733, allocations: 1.163 MB / 0.9778 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.04733, allocations: 0 / 0.9778 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.04758, allocations: 59.91 kB / 0.9779 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002942/0.04788, allocations: 94.44 kB / 0.9779 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.0479, allocations: 8 kB / 0.978 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003697/0.0516, allocations: 3.957 MB / 0.9818 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/0.05161, allocations: 7.938 kB / 0.9818 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.05263, allocations: 0.7674 MB / 0.9826 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.05281, allocations: 75.69 kB / 0.9826 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.087e-05/0.05287, allocations: 11.98 kB / 0.9827 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.05322, allocations: 19.98 kB / 0.9827 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/0.0533, allocations: 39.81 kB / 0.9827 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.05332, allocations: 16.12 kB / 0.9827 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003164/0.05364, allocations: 259.2 kB / 0.983 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8e-08/0.05364, allocations: 0 / 0.983 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007031/0.05434, allocations: 120 kB / 0.9831 GB, free: 9.215 MB / 0.8887 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.0001719/0.05451, allocations: 121 kB / 0.9832 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.05594, allocations: 0.7832 MB / 0.984 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.05594, allocations: 0 / 0.984 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008108/0.05675, allocations: 0.5281 MB / 0.9845 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009701/0.05772, allocations: 136.3 kB / 0.9846 GB, free: 7.566 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.0594, allocations: 0.8923 MB / 0.9855 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.05972, allocations: 268.1 kB / 0.9857 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002799/0.06, allocations: 104.3 kB / 0.9858 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.0601, allocations: 36.5 kB / 0.9859 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of SimCode: time 3.3e-07/0.0601, allocations: 0 / 0.9859 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of Templates: time 0.01308/0.07318, allocations: 5.857 MB / 0.9916 GB, free: 492 kB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.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: 8.268569577485323]