Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001756/0.001756, allocations: 79.03 kB / 19.18 MB, free: 2.527 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.002138/0.002138, allocations: 169.7 kB / 22.46 MB, free: 5.359 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.477/1.477, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.952/2.952, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.45e-05/3.64e-05, allocations: 6.219 kB / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007618/0.007654, allocations: 4.099 MB / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004714/0.01237, allocations: 2.291 MB / 1.006 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005523/0.01292, allocations: 27.75 kB / 1.006 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.01453, allocations: 374.1 kB / 1.007 GB, free: 472 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.01595, allocations: 393.7 kB / 1.007 GB, free: 76 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.01708, allocations: 329 kB / 1.007 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.01838, allocations: 0.6984 MB / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006696/0.01905, allocations: 246 kB / 1.008 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000772/0.01983, allocations: 359.1 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004929/0.02032, allocations: 243.3 kB / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.952e-05/0.02039, allocations: 28 kB / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00088/0.02127, allocations: 398.7 kB / 1.009 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.02147, allocations: 155.5 kB / 1.009 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.0217, allocations: 151.6 kB / 1.01 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.02276, allocations: 0.7515 MB / 1.01 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.02277, allocations: 0 / 1.01 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.02277, allocations: 3.938 kB / 1.01 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.02278, allocations: 0 / 1.01 GB, free: 12.74 MB / 0.9669 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.001379/0.02416, allocations: 0.7266 MB / 1.011 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.0242, allocations: 8.031 kB / 1.011 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.02567, allocations: 192.3 kB / 1.011 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007229/0.02639, allocations: 368.9 kB / 1.012 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.02642, allocations: 33.3 kB / 1.012 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.091e-05/0.02651, allocations: 40.31 kB / 1.012 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.02762, allocations: 0.7227 MB / 1.012 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/0.02766, allocations: 12.11 kB / 1.012 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.02771, allocations: 16.36 kB / 1.012 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.749e-05/0.0278, allocations: 51.91 kB / 1.012 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008295/0.02863, allocations: 0.4954 MB / 1.013 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.03217, allocations: 3.118 MB / 1.016 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.03404, allocations: 0.5976 MB / 1.017 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.03431, allocations: 170.5 kB / 1.017 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.03433, allocations: 4 kB / 1.017 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.03438, allocations: 38.5 kB / 1.017 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.03439, allocations: 0 / 1.017 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.002533/0.03692, allocations: 1.065 MB / 1.018 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.03701, allocations: 106.8 kB / 1.018 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.03747, allocations: 385.7 kB / 1.018 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.0375, allocations: 29.7 kB / 1.018 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.03775, allocations: 292 kB / 1.019 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.03786, allocations: 126.9 kB / 1.019 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.03802, allocations: 102.3 kB / 1.019 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.03822, allocations: 350.7 kB / 1.019 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.03853, allocations: 177.2 kB / 1.019 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.03901, allocations: 380.2 kB / 1.02 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008333/0.03984, allocations: 0.5874 MB / 1.02 GB, free: 2 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.03984, allocations: 4 kB / 1.02 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001233/0.04108, allocations: 0.6748 MB / 1.021 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.0411, allocations: 8 kB / 1.021 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.04111, allocations: 4 kB / 1.021 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/0.0415, allocations: 99.22 kB / 1.021 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/0.04193, allocations: 111.8 kB / 1.021 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003844/0.04578, allocations: 3.969 MB / 1.025 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.04617, allocations: 35.91 kB / 1.025 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.04621, allocations: 27.98 kB / 1.025 GB, free: 12.74 MB / 0.9825 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.0002854/0.0465, allocations: 198.3 kB / 1.025 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.04661, allocations: 47.72 kB / 1.025 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009895/0.0476, allocations: 0.5112 MB / 1.026 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.04761, allocations: 4 kB / 1.026 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.04761, allocations: 4 kB / 1.026 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.04762, allocations: 3.984 kB / 1.026 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.0495, allocations: 1.154 MB / 1.027 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.04951, allocations: 3.984 kB / 1.027 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.04977, allocations: 63.89 kB / 1.027 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000312/0.05008, allocations: 94.72 kB / 1.027 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.05011, allocations: 12 kB / 1.027 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003744/0.05385, allocations: 3.95 MB / 1.031 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.05386, allocations: 11.88 kB / 1.031 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.05497, allocations: 0.7661 MB / 1.032 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.05519, allocations: 75.69 kB / 1.032 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.627e-05/0.05528, allocations: 15.94 kB / 1.032 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.05562, allocations: 19.98 kB / 1.032 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.05571, allocations: 35.88 kB / 1.032 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.05573, allocations: 16 kB / 1.032 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003282/0.05606, allocations: 255.2 kB / 1.032 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.05606, allocations: 12.03 kB / 1.032 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007871/0.05685, allocations: 120 kB / 1.032 GB, free: 4.91 MB / 0.9825 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.0001731/0.05702, allocations: 115.1 kB / 1.032 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.05849, allocations: 0.7741 MB / 1.033 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.0585, allocations: 0 / 1.033 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008236/0.05932, allocations: 0.5402 MB / 1.034 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.06033, allocations: 124.6 kB / 1.034 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.0621, allocations: 0.8996 MB / 1.035 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.06244, allocations: 264.3 kB / 1.035 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002826/0.06272, allocations: 96.34 kB / 1.035 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.06283, allocations: 32.5 kB / 1.035 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.06283, allocations: 8 kB / 1.035 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of Templates: time 0.01333/0.07616, allocations: 5.849 MB / 1.041 GB, free: 12.17 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.388181138783693]