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.001981/0.001981, allocations: 80.3 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.00244/0.00244, allocations: 161.4 kB / 22.45 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.483/1.483, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.776/2.776, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] 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.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_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.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.149e-05, allocations: 5.234 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006409/0.006441, allocations: 4.097 MB / 0.9854 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004502/0.01094, allocations: 2.299 MB / 0.9877 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003272/0.01127, allocations: 27.75 kB / 0.9877 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.01256, allocations: 368.9 kB / 0.9881 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.0139, allocations: 405.6 kB / 0.9884 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.01507, allocations: 323 kB / 0.9888 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.01621, allocations: 0.6984 MB / 0.9894 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005586/0.01676, allocations: 234 kB / 0.9897 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006757/0.01744, allocations: 367 kB / 0.99 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.01788, allocations: 243.2 kB / 0.9902 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.01795, allocations: 32 kB / 0.9903 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008406/0.01879, allocations: 386.9 kB / 0.9906 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.019, allocations: 151.5 kB / 0.9908 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.01922, allocations: 155.6 kB / 0.9909 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.02032, allocations: 0.7554 MB / 0.9917 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.02033, allocations: 0 / 0.9917 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.02033, allocations: 4 kB / 0.9917 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.02034, allocations: 0 / 0.9917 GB, free: 1.449 MB / 0.9356 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.00132/0.02166, allocations: 0.7188 MB / 0.9924 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.0217, allocations: 8.031 kB / 0.9924 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.02314, allocations: 192.3 kB / 0.9926 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006916/0.02383, allocations: 380.8 kB / 0.9929 GB, free: 108 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.02387, allocations: 25.36 kB / 0.993 GB, free: 84 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.02396, allocations: 32.38 kB / 0.993 GB, free: 52 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.0251, allocations: 0.7304 MB / 0.9937 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.02513, allocations: 12.12 kB / 0.9937 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.02518, allocations: 16.36 kB / 0.9937 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.613e-05/0.02527, allocations: 59.78 kB / 0.9938 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008236/0.0261, allocations: 0.4916 MB / 0.9943 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.02974, allocations: 3.118 MB / 0.9973 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.03158, allocations: 0.6009 MB / 0.9979 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.03186, allocations: 170.4 kB / 0.9981 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.03188, allocations: 4 kB / 0.9981 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.03193, allocations: 38.56 kB / 0.9981 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 1.924e-06/0.03193, allocations: 3.938 kB / 0.9981 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002454/0.03439, allocations: 1.056 MB / 0.9991 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.03448, allocations: 114.8 kB / 0.9992 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.03492, allocations: 381.4 kB / 0.9996 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.03497, allocations: 29.7 kB / 0.9996 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.0352, allocations: 300 kB / 0.9999 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.03531, allocations: 119 kB / 1 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.03549, allocations: 102.3 kB / 1 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.0357, allocations: 346.8 kB / 1 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.03599, allocations: 177.2 kB / 1.001 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.03646, allocations: 384.1 kB / 1.001 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008214/0.03728, allocations: 0.5794 MB / 1.002 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.03729, allocations: 13.56 kB / 1.002 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001198/0.03849, allocations: 0.6754 MB / 1.002 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.03851, allocations: 12.16 kB / 1.002 GB, free: 6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.03852, allocations: 4 kB / 1.002 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.03892, allocations: 98.44 kB / 1.002 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.03935, allocations: 115.8 kB / 1.002 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004016/0.04336, allocations: 3.957 MB / 1.006 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.04377, allocations: 36.03 kB / 1.006 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.04381, allocations: 24 kB / 1.006 GB, free: 1.453 MB / 0.9512 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.0003218/0.04414, allocations: 194.5 kB / 1.007 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.04426, allocations: 47.72 kB / 1.007 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.04527, allocations: 0.5145 MB / 1.007 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.04528, allocations: 8 kB / 1.007 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.04528, allocations: 0 / 1.007 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.04529, allocations: 7.984 kB / 1.007 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.04717, allocations: 1.154 MB / 1.008 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.04718, allocations: 7.984 kB / 1.008 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.04744, allocations: 59.89 kB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003047/0.04775, allocations: 90.78 kB / 1.008 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.04777, allocations: 12 kB / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003658/0.05143, allocations: 3.962 MB / 1.012 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.05144, allocations: 4 kB / 1.012 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.05262, allocations: 0.7672 MB / 1.013 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.05281, allocations: 75.69 kB / 1.013 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.05286, allocations: 12.23 kB / 1.013 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.05317, allocations: 23.98 kB / 1.013 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.05325, allocations: 39.81 kB / 1.013 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.05328, allocations: 16 kB / 1.013 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000317/0.0536, allocations: 259.2 kB / 1.013 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.0536, allocations: 0 / 1.013 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007389/0.05433, allocations: 120 kB / 1.014 GB, free: 9.625 MB / 0.9669 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.0001835/0.05452, allocations: 117.2 kB / 1.014 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001423/0.05594, allocations: 0.783 MB / 1.014 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.05595, allocations: 4.344 kB / 1.014 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007911/0.05674, allocations: 0.5309 MB / 1.015 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009462/0.05768, allocations: 133.5 kB / 1.015 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.05939, allocations: 0.9003 MB / 1.016 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.0597, allocations: 260.3 kB / 1.016 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002738/0.05998, allocations: 104.3 kB / 1.016 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.06008, allocations: 36.5 kB / 1.016 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of SimCode: time 1.152e-06/0.06008, allocations: 0 / 1.016 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of Templates: time 0.01266/0.07274, allocations: 5.849 MB / 1.022 GB, free: 0.8945 MB / 0.9669 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.271943472325802]