Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001608/0.001608, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002155/0.002155, allocations: 215.3 kB / 23.01 MB, free: 4.566 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.727/2.727, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.75 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3473, allocations: 170 MB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005519/0.3528, allocations: 3.397 MB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003758/0.3566, allocations: 2.108 MB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.3567, allocations: 7.938 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.3577, allocations: 314.1 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000557/0.3583, allocations: 238.9 kB / 1.291 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007359/0.359, allocations: 291.2 kB / 1.291 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005339/0.3596, allocations: 410.7 kB / 1.291 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.3599, allocations: 172.2 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.3602, allocations: 167.4 kB / 1.292 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.3606, allocations: 215.2 kB / 1.292 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.781e-05/0.3606, allocations: 24 kB / 1.292 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004658/0.3611, allocations: 271.5 kB / 1.292 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.3613, allocations: 123.6 kB / 1.292 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.3614, allocations: 147.2 kB / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000671/0.3621, allocations: 498.2 kB / 1.293 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3621, allocations: 0 / 1.293 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3621, allocations: 0 / 1.293 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3621, allocations: 0 / 1.293 GB, free: 2.828 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00122/0.3633, allocations: 0.5361 MB / 1.293 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3634, allocations: 12.03 kB / 1.293 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.3644, allocations: 112.6 kB / 1.293 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.3648, allocations: 214.7 kB / 1.294 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.3649, allocations: 28.86 kB / 1.294 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.365, allocations: 28.75 kB / 1.294 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008095/0.3658, allocations: 469.2 kB / 1.294 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3658, allocations: 4 kB / 1.294 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/0.3659, allocations: 15.98 kB / 1.294 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.366, allocations: 36.47 kB / 1.294 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006708/0.3667, allocations: 365.7 kB / 1.294 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.3697, allocations: 2.154 MB / 1.297 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.3702, allocations: 250.3 kB / 1.297 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.3704, allocations: 144.8 kB / 1.297 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3704, allocations: 0 / 1.297 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.3704, allocations: 42.56 kB / 1.297 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.3704, allocations: 0 / 1.297 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.001929/0.3724, allocations: 0.9059 MB / 1.298 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3724, allocations: 51.41 kB / 1.298 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.3728, allocations: 264.8 kB / 1.298 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.3728, allocations: 33.64 kB / 1.298 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.373, allocations: 192.3 kB / 1.298 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.983e-05/0.3731, allocations: 83.31 kB / 1.298 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.3732, allocations: 85.58 kB / 1.299 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3734, allocations: 334.8 kB / 1.299 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.3737, allocations: 155.9 kB / 1.299 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/0.3741, allocations: 237.6 kB / 1.299 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006463/0.3748, allocations: 415.4 kB / 1.3 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3748, allocations: 0 / 1.3 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001274/0.376, allocations: 0.5934 MB / 1.3 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3761, allocations: 4 kB / 1.3 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3761, allocations: 4 kB / 1.3 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007361/0.3768, allocations: 192.9 kB / 1.3 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.3771, allocations: 59.89 kB / 1.3 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/0.3804, allocations: 2.404 MB / 1.303 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.3808, allocations: 23.98 kB / 1.303 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3809, allocations: 15.98 kB / 1.303 GB, free: 7.859 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002375/0.3811, allocations: 165.8 kB / 1.303 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.3812, allocations: 27.8 kB / 1.303 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006304/0.3818, allocations: 362.4 kB / 1.303 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3818, allocations: 0 / 1.303 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3818, allocations: 4 kB / 1.303 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3818, allocations: 4 kB / 1.303 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.3831, allocations: 0.7801 MB / 1.304 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3831, allocations: 0 / 1.304 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004156/0.3835, allocations: 75.88 kB / 1.304 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3835, allocations: 0 / 1.304 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.3835, allocations: 11.98 kB / 1.304 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3835, allocations: 0 / 1.304 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.3835, allocations: 4 kB / 1.304 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.3844, allocations: 0.6112 MB / 1.305 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.3845, allocations: 55.86 kB / 1.305 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.3846, allocations: 8 kB / 1.305 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.3848, allocations: 7.984 kB / 1.305 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.3849, allocations: 27.84 kB / 1.305 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3849, allocations: 4 kB / 1.305 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002695/0.3852, allocations: 192.5 kB / 1.305 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3852, allocations: 0 / 1.305 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004432/0.3856, allocations: 91.94 kB / 1.305 GB, free: 5.359 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001917/0.3858, allocations: 107.2 kB / 1.305 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.3869, allocations: 0.5222 MB / 1.306 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3869, allocations: 0 / 1.306 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.3871, allocations: 139.8 kB / 1.306 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.3876, allocations: 63.31 kB / 1.306 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.3893, allocations: 0.874 MB / 1.307 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.3898, allocations: 0.8028 MB / 1.308 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.39, allocations: 27.38 kB / 1.308 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.39, allocations: 0 / 1.308 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of Templates: time 0.008701/0.3987, allocations: 4.564 MB / 1.312 GB, free: 14.2 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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: 11.841482107993215]