Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001806/0.001806, 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.002321/0.002321, allocations: 210.2 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.095/3.095, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.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_12_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_12_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.002031/0.002031, allocations: 65.41 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3111, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005358/0.3165, allocations: 3.245 MB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003561/0.32, allocations: 1.975 MB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.3202, allocations: 11.94 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009654/0.3211, allocations: 288 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005625/0.3217, allocations: 250.9 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.3224, allocations: 291.2 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.3229, allocations: 406.8 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.3232, allocations: 180.2 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.3235, allocations: 163.5 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003615/0.3238, allocations: 215.3 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.3239, allocations: 24 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.3243, allocations: 259.4 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.3244, allocations: 115.7 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.3246, allocations: 119.5 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006318/0.3252, allocations: 0.4904 MB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3252, allocations: 0 / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3252, allocations: 0 / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3252, allocations: 0 / 1.335 GB, free: 8.953 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001171/0.3264, allocations: 0.5284 MB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3264, allocations: 15.97 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.3274, allocations: 116.6 kB / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.3279, allocations: 220.4 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.3279, allocations: 20.86 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.328, allocations: 36.72 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008414/0.3289, allocations: 0.5258 MB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3289, allocations: 0 / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.3289, allocations: 11.98 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.3291, allocations: 36.47 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006968/0.3298, allocations: 369.6 kB / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/0.3324, allocations: 1.59 MB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.3328, allocations: 242.4 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.333, allocations: 145.9 kB / 1.339 GB, free: 4.934 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.3331, allocations: 4 kB / 1.339 GB, free: 4.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3331, allocations: 38.5 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.3331, allocations: 7.938 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.001893/0.335, allocations: 0.8953 MB / 1.34 GB, free: 3.949 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.335, allocations: 59.41 kB / 1.34 GB, free: 3.879 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.3354, allocations: 259.6 kB / 1.34 GB, free: 3.613 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.3354, allocations: 29.7 kB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.3355, allocations: 192.4 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.795e-05/0.3356, allocations: 87.22 kB / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.3358, allocations: 81.62 kB / 1.34 GB, free: 3.215 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3359, allocations: 326.8 kB / 1.341 GB, free: 2.887 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.3362, allocations: 163.8 kB / 1.341 GB, free: 2.727 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.3366, allocations: 243.1 kB / 1.341 GB, free: 2.453 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.3372, allocations: 414.8 kB / 1.341 GB, free: 2.016 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3372, allocations: 0 / 1.341 GB, free: 2.016 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001311/0.3386, allocations: 0.5935 MB / 1.342 GB, free: 1.414 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3386, allocations: 4 kB / 1.342 GB, free: 1.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.3386, allocations: 4 kB / 1.342 GB, free: 1.406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007784/0.3394, allocations: 184.8 kB / 1.342 GB, free: 1.223 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.3397, allocations: 63.89 kB / 1.342 GB, free: 1.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003299/0.343, allocations: 2.363 MB / 1.344 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.3434, allocations: 23.97 kB / 1.344 GB, free: 14.67 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.3435, allocations: 12 kB / 1.344 GB, free: 14.66 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): 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.0002092/0.3437, allocations: 170.3 kB / 1.345 GB, free: 14.48 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.3437, allocations: 27.8 kB / 1.345 GB, free: 14.46 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006184/0.3444, allocations: 347.3 kB / 1.345 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3444, allocations: 4 kB / 1.345 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.3444, allocations: 0 / 1.345 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3444, allocations: 3.984 kB / 1.345 GB, free: 14.1 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.3456, allocations: 0.7126 MB / 1.346 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3456, allocations: 3.938 kB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004369/0.346, allocations: 71.94 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.346, allocations: 4.062 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.346, allocations: 8 kB / 1.346 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.346, allocations: 0 / 1.346 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.346, allocations: 0 / 1.346 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000901/0.3469, allocations: 0.6165 MB / 1.346 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.3471, allocations: 51.88 kB / 1.346 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.3471, allocations: 8 kB / 1.346 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.3474, allocations: 11.98 kB / 1.346 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.3474, allocations: 15.97 kB / 1.346 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.3475, allocations: 4 kB / 1.346 GB, free: 12.54 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002526/0.3477, allocations: 188.1 kB / 1.347 GB, free: 12.35 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3477, allocations: 0 / 1.347 GB, free: 12.35 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004562/0.3482, allocations: 84 kB / 1.347 GB, free: 12.27 MB / 1.045 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.000198/0.3484, allocations: 107.2 kB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.3494, allocations: 0.5181 MB / 1.347 GB, free: 11.62 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3494, allocations: 0 / 1.347 GB, free: 11.62 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.3496, allocations: 143.8 kB / 1.347 GB, free: 11.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.3501, allocations: 55.45 kB / 1.348 GB, free: 11.44 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.3517, allocations: 0.8528 MB / 1.348 GB, free: 10.55 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.3519, allocations: 189.8 kB / 1.349 GB, free: 10.35 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002155/0.3521, allocations: 70.23 kB / 1.349 GB, free: 10.28 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.805e-05/0.3522, allocations: 19.44 kB / 1.349 GB, free: 10.26 MB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/0.3522, allocations: 4 kB / 1.349 GB, free: 10.26 MB / 1.045 GB Notification: Performance of Templates: time 0.009371/0.3615, allocations: 4.592 MB / 1.353 GB, free: 5.715 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.579998581000837]