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.001342/0.001342, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001443/0.001443, allocations: 208.1 kB / 22.99 MB, free: 4.957 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.09/3.09, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] 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.00205/0.00205, allocations: 76.67 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2964, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004913/0.3013, allocations: 3.056 MB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003207/0.3045, allocations: 1.889 MB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.3047, allocations: 11.94 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009181/0.3056, allocations: 278.9 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.306, allocations: 199.1 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.3066, allocations: 251.3 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.307, allocations: 322.9 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/0.3073, allocations: 149.6 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.3075, allocations: 143.5 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.3078, allocations: 155.5 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.3078, allocations: 24 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005926/0.3084, allocations: 391.2 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3085, allocations: 91.66 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.3087, allocations: 95.59 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006497/0.3093, allocations: 0.4904 MB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3093, allocations: 0 / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3093, allocations: 0 / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3093, allocations: 0 / 1.334 GB, free: 9.449 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.0008807/0.3102, allocations: 0.501 MB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.3102, allocations: 8.031 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008071/0.311, allocations: 112.7 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.3114, allocations: 212.1 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3114, allocations: 12.81 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.3115, allocations: 24.3 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006166/0.3121, allocations: 404.5 kB / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3121, allocations: 0 / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.3121, allocations: 8 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/0.3122, allocations: 32.36 kB / 1.336 GB, free: 8.062 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.3127, allocations: 293.5 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.3147, allocations: 1.225 MB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.3152, allocations: 245 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.3154, allocations: 97.67 kB / 1.337 GB, free: 6.137 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.606e-05/0.3154, allocations: 11.98 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.3155, allocations: 46.44 kB / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.3155, allocations: 0 / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002525/0.318, allocations: 0.892 MB / 1.338 GB, free: 5.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.3181, allocations: 77.11 kB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.3183, allocations: 219 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.3183, allocations: 29.7 kB / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3184, allocations: 176.4 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.675e-05/0.3185, allocations: 91.25 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.3186, allocations: 57.7 kB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3188, allocations: 330.8 kB / 1.339 GB, free: 4.141 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.319, allocations: 124 kB / 1.339 GB, free: 4.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.3193, allocations: 221.2 kB / 1.34 GB, free: 3.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/0.3198, allocations: 359.6 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3198, allocations: 8 kB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009158/0.3207, allocations: 0.5139 MB / 1.341 GB, free: 2.848 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3207, allocations: 4 kB / 1.341 GB, free: 2.844 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.3207, allocations: 4 kB / 1.341 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/0.3213, allocations: 151.6 kB / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.3215, allocations: 63.98 kB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003382/0.3249, allocations: 3.933 MB / 1.345 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.3251, allocations: 23.97 kB / 1.345 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.3251, allocations: 12 kB / 1.345 GB, free: 14.39 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.0001766/0.3253, allocations: 162.6 kB / 1.345 GB, free: 14.22 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.3254, allocations: 23.84 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009176/0.3263, allocations: 467.5 kB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3263, allocations: 4 kB / 1.345 GB, free: 13.72 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3263, allocations: 7.938 kB / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3263, allocations: 0 / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.3279, allocations: 0.8916 MB / 1.346 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.3279, allocations: 4 kB / 1.346 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.3281, allocations: 31.92 kB / 1.346 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/0.3285, allocations: 143.5 kB / 1.346 GB, free: 12.56 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.3285, allocations: 12 kB / 1.346 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003191/0.3317, allocations: 3.903 MB / 1.35 GB, free: 8.391 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.3317, allocations: 4.031 kB / 1.35 GB, free: 8.387 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008649/0.3326, allocations: 0.6233 MB / 1.351 GB, free: 7.711 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.3327, allocations: 47.83 kB / 1.351 GB, free: 7.664 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.3327, allocations: 4.25 kB / 1.351 GB, free: 7.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.333, allocations: 23.98 kB / 1.351 GB, free: 7.637 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.333, allocations: 31.8 kB / 1.351 GB, free: 7.605 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.3331, allocations: 12 kB / 1.351 GB, free: 7.594 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001557/0.3332, allocations: 152.2 kB / 1.351 GB, free: 7.445 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3332, allocations: 0 / 1.351 GB, free: 7.445 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005105/0.3337, allocations: 95.92 kB / 1.351 GB, free: 7.352 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.0002337/0.334, allocations: 143.7 kB / 1.351 GB, free: 7.199 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009751/0.3349, allocations: 0.5588 MB / 1.352 GB, free: 6.617 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3349, allocations: 0 / 1.352 GB, free: 6.617 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005431/0.3355, allocations: 390.1 kB / 1.352 GB, free: 6.211 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.336, allocations: 52.94 kB / 1.352 GB, free: 6.164 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.337, allocations: 0.6465 MB / 1.353 GB, free: 5.473 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.3372, allocations: 165.2 kB / 1.353 GB, free: 5.289 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000162/0.3374, allocations: 58.25 kB / 1.353 GB, free: 5.23 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.3375, allocations: 19.44 kB / 1.353 GB, free: 5.211 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.3375, allocations: 0 / 1.353 GB, free: 5.211 MB / 1.045 GB Notification: Performance of Templates: time 0.009351/0.3468, allocations: 4.514 MB / 1.357 GB, free: 0.7539 MB / 1.045 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 -s gbode -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/jenkins1/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: 8.413572559002205]