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.001932/0.001932, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.002298/0.002298, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.537/1.537, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.981/2.981, allocations: 0.49 GB / 0.7923 GB, free: 1.398 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.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.002417/0.002417, allocations: 59.91 kB / 1.15 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.149, allocations: 176.1 MB / 1.322 GB, free: 7.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006055/1.155, allocations: 3.328 MB / 1.325 GB, free: 5.27 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004271/1.16, allocations: 2.072 MB / 1.327 GB, free: 3.664 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/1.16, allocations: 8.531 kB / 1.327 GB, free: 3.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/1.161, allocations: 292.4 kB / 1.328 GB, free: 3.441 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007468/1.162, allocations: 234.8 kB / 1.328 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009294/1.163, allocations: 290.4 kB / 1.328 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005684/1.163, allocations: 407.7 kB / 1.328 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/1.164, allocations: 170.8 kB / 1.329 GB, free: 2.723 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/1.164, allocations: 176.7 kB / 1.329 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/1.164, allocations: 205.6 kB / 1.329 GB, free: 2.504 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/1.164, allocations: 24.06 kB / 1.329 GB, free: 2.504 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006298/1.165, allocations: 279 kB / 1.329 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/1.165, allocations: 122.1 kB / 1.329 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/1.165, allocations: 144.3 kB / 1.329 GB, free: 2.191 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007722/1.166, allocations: 494.3 kB / 1.33 GB, free: 1.875 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.166, allocations: 5.688 kB / 1.33 GB, free: 1.871 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/1.166, allocations: 3.938 kB / 1.33 GB, free: 1.867 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.278e-05/1.166, allocations: 0 / 1.33 GB, free: 1.867 MB / 1.014 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.001251/1.167, allocations: 0.6 MB / 1.331 GB, free: 1.324 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.167, allocations: 13.08 kB / 1.331 GB, free: 1.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/1.169, allocations: 121.5 kB / 1.331 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/1.169, allocations: 282.3 kB / 1.331 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/1.169, allocations: 23.02 kB / 1.331 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/1.169, allocations: 35.67 kB / 1.331 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008291/1.17, allocations: 454.8 kB / 1.331 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/1.17, allocations: 3.953 kB / 1.331 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.579e-05/1.17, allocations: 16.39 kB / 1.331 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/1.17, allocations: 42.38 kB / 1.331 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006959/1.171, allocations: 365.5 kB / 1.332 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003109/1.174, allocations: 2.213 MB / 1.334 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/1.174, allocations: 243.1 kB / 1.334 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/1.175, allocations: 151.6 kB / 1.334 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/1.175, allocations: 2.75 kB / 1.334 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/1.175, allocations: 31.91 kB / 1.334 GB, free: 14.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 2.916e-06/1.175, allocations: 0 / 1.334 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002198/1.177, allocations: 1.063 MB / 1.335 GB, free: 13.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/1.177, allocations: 54.06 kB / 1.335 GB, free: 13.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/1.177, allocations: 257.8 kB / 1.336 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/1.177, allocations: 31.77 kB / 1.336 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/1.178, allocations: 198.3 kB / 1.336 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/1.178, allocations: 82.45 kB / 1.336 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/1.178, allocations: 75.86 kB / 1.336 GB, free: 12.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.178, allocations: 337.3 kB / 1.336 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/1.178, allocations: 162.9 kB / 1.337 GB, free: 12.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/1.179, allocations: 237.8 kB / 1.337 GB, free: 12.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000669/1.179, allocations: 408.3 kB / 1.337 GB, free: 11.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.179, allocations: 1.312 kB / 1.337 GB, free: 11.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001362/1.181, allocations: 0.6001 MB / 1.338 GB, free: 11.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.181, allocations: 11.59 kB / 1.338 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.181, allocations: 3.25 kB / 1.338 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007888/1.182, allocations: 195.2 kB / 1.338 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/1.182, allocations: 66.3 kB / 1.338 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/1.186, allocations: 2.49 MB / 1.34 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/1.186, allocations: 23.75 kB / 1.341 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/1.186, allocations: 19 kB / 1.341 GB, free: 9.434 MB / 1.029 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.0002656/1.186, allocations: 171.8 kB / 1.341 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/1.186, allocations: 27.98 kB / 1.341 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006775/1.187, allocations: 357.6 kB / 1.341 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.187, allocations: 2.906 kB / 1.341 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/1.187, allocations: 0 / 1.341 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.187, allocations: 3.984 kB / 1.341 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/1.188, allocations: 0.8159 MB / 1.342 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.188, allocations: 1.125 kB / 1.342 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/1.189, allocations: 74.06 kB / 1.342 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/1.189, allocations: 5.688 kB / 1.342 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/1.189, allocations: 7.469 kB / 1.342 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/1.189, allocations: 1.094 kB / 1.342 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.189, allocations: 1.062 kB / 1.342 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/1.19, allocations: 0.6142 MB / 1.343 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/1.19, allocations: 132.3 kB / 1.343 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/1.19, allocations: 11.42 kB / 1.343 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/1.19, allocations: 14.52 kB / 1.343 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/1.19, allocations: 15.48 kB / 1.343 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/1.19, allocations: 4.469 kB / 1.343 GB, free: 7.848 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000284/1.191, allocations: 188.7 kB / 1.343 GB, free: 7.723 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.191, allocations: 0 / 1.343 GB, free: 7.723 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006913/1.191, allocations: 89.53 kB / 1.343 GB, free: 7.711 MB / 1.029 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.0002116/1.192, allocations: 120.1 kB / 1.343 GB, free: 7.602 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001138/1.193, allocations: 0.5034 MB / 1.344 GB, free: 7.297 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.193, allocations: 4.062 kB / 1.344 GB, free: 7.293 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/1.193, allocations: 139.3 kB / 1.344 GB, free: 7.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/1.194, allocations: 64.95 kB / 1.344 GB, free: 7.195 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/1.195, allocations: 0.8773 MB / 1.345 GB, free: 6.566 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/1.196, allocations: 0.8036 MB / 1.345 GB, free: 5.805 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/1.196, allocations: 27.23 kB / 1.345 GB, free: 5.793 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/1.196, allocations: 1.5 kB / 1.345 GB, free: 5.793 MB / 1.029 GB Notification: Performance of Templates: time 0.009214/1.205, allocations: 4.544 MB / 1.35 GB, free: 3.441 MB / 1.029 GB " [Timeout remaining time 299] 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 -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: 12.904045371993561]