Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001974/0.001974, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002304/0.002304, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.613/1.613, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.208/3.208, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [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.002353/0.002353, allocations: 65.19 kB / 1.149 GB, free: 26.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3736, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00516/0.3788, allocations: 3.125 MB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003367/0.3821, allocations: 2.017 MB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.3823, allocations: 4 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009673/0.3832, allocations: 290.8 kB / 1.327 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005147/0.3838, allocations: 195.1 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007266/0.3845, allocations: 259.2 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.3849, allocations: 318.9 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/0.3852, allocations: 153 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.3855, allocations: 139.5 kB / 1.328 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.3857, allocations: 159.3 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.3858, allocations: 20 kB / 1.328 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006468/0.3864, allocations: 415.2 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.3865, allocations: 91.78 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.3867, allocations: 127.3 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006674/0.3873, allocations: 494.2 kB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3873, allocations: 0 / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3873, allocations: 0 / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.3873, allocations: 0 / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009511/0.3883, allocations: 0.5724 MB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3883, allocations: 11.98 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000813/0.3892, allocations: 112.7 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.3895, allocations: 269.7 kB / 1.33 GB, free: 9.984 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.3895, allocations: 16.81 kB / 1.33 GB, free: 9.969 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.294e-05/0.3896, allocations: 24.36 kB / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.3901, allocations: 357.4 kB / 1.33 GB, free: 9.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3902, allocations: 0 / 1.33 GB, free: 9.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.3902, allocations: 12 kB / 1.33 GB, free: 9.559 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.872e-05/0.3902, allocations: 28.41 kB / 1.33 GB, free: 9.531 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004898/0.3907, allocations: 293.5 kB / 1.33 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.3932, allocations: 1.734 MB / 1.332 GB, free: 7.344 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.3937, allocations: 314.2 kB / 1.332 GB, free: 7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.3939, allocations: 109.6 kB / 1.333 GB, free: 6.887 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.394, allocations: 89.05 kB / 1.333 GB, free: 6.781 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.394, allocations: 38.55 kB / 1.333 GB, free: 6.734 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.394, allocations: 0 / 1.333 GB, free: 6.734 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002643/0.3967, allocations: 0.978 MB / 1.334 GB, free: 5.723 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.3967, allocations: 85.05 kB / 1.334 GB, free: 5.621 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.397, allocations: 211.8 kB / 1.334 GB, free: 5.398 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.397, allocations: 29.7 kB / 1.334 GB, free: 5.363 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.3971, allocations: 176.5 kB / 1.334 GB, free: 5.188 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/0.3972, allocations: 91.25 kB / 1.334 GB, free: 5.098 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.3973, allocations: 61.66 kB / 1.334 GB, free: 5.031 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3975, allocations: 330.8 kB / 1.335 GB, free: 4.699 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.3977, allocations: 123.9 kB / 1.335 GB, free: 4.578 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.398, allocations: 217.2 kB / 1.335 GB, free: 4.332 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.3985, allocations: 366.9 kB / 1.335 GB, free: 3.941 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3985, allocations: 0 / 1.335 GB, free: 3.941 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00091/0.3994, allocations: 0.5101 MB / 1.336 GB, free: 3.414 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3994, allocations: 8 kB / 1.336 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3994, allocations: 4 kB / 1.336 GB, free: 3.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005469/0.3999, allocations: 159.5 kB / 1.336 GB, free: 3.234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.4002, allocations: 55.91 kB / 1.336 GB, free: 3.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00353/0.4037, allocations: 4.179 MB / 1.34 GB, free: 14.67 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.404, allocations: 31.91 kB / 1.34 GB, free: 14.64 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.404, allocations: 8 kB / 1.34 GB, free: 14.63 MB / 1.045 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002037/0.4042, allocations: 169.7 kB / 1.34 GB, free: 14.45 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-05/0.4043, allocations: 24 kB / 1.34 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009205/0.4052, allocations: 480.3 kB / 1.341 GB, free: 13.94 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4052, allocations: 4 kB / 1.341 GB, free: 13.94 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.4052, allocations: 4 kB / 1.341 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.4052, allocations: 7.984 kB / 1.341 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.4068, allocations: 0.9844 MB / 1.342 GB, free: 12.85 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4068, allocations: 7.938 kB / 1.342 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.407, allocations: 31.92 kB / 1.342 GB, free: 12.81 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004134/0.4074, allocations: 139.6 kB / 1.342 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.4074, allocations: 8 kB / 1.342 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003309/0.4107, allocations: 4.159 MB / 1.346 GB, free: 8.16 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.4107, allocations: 8.141 kB / 1.346 GB, free: 8.152 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009104/0.4116, allocations: 0.6199 MB / 1.347 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.4118, allocations: 124.9 kB / 1.347 GB, free: 7.34 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.4118, allocations: 11.94 kB / 1.347 GB, free: 7.328 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.4121, allocations: 19.97 kB / 1.347 GB, free: 7.309 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.4121, allocations: 27.92 kB / 1.347 GB, free: 7.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.4122, allocations: 8 kB / 1.347 GB, free: 7.273 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001782/0.4123, allocations: 161.5 kB / 1.347 GB, free: 7.117 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4123, allocations: 0 / 1.347 GB, free: 7.117 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005821/0.4129, allocations: 95.88 kB / 1.347 GB, free: 7.023 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002886/0.4132, allocations: 139.1 kB / 1.347 GB, free: 6.875 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.4143, allocations: 0.5714 MB / 1.348 GB, free: 6.277 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4143, allocations: 4.188 kB / 1.348 GB, free: 6.273 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005809/0.4149, allocations: 390.7 kB / 1.348 GB, free: 5.867 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.4154, allocations: 43.97 kB / 1.348 GB, free: 5.824 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.4166, allocations: 0.6349 MB / 1.349 GB, free: 5.145 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.4171, allocations: 0.7753 MB / 1.349 GB, free: 4.344 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.4173, allocations: 66.23 kB / 1.35 GB, free: 4.281 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.4174, allocations: 27.38 kB / 1.35 GB, free: 4.254 MB / 1.045 GB Notification: Performance of SimCode: time 7.21e-07/0.4174, allocations: 0 / 1.35 GB, free: 4.254 MB / 1.045 GB Notification: Performance of Templates: time 0.00992/0.4273, allocations: 4.343 MB / 1.354 GB, free: 15.93 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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: 9.392035547178239]