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.0009394/0.0009394, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008174/0.0008174, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.9307/0.9307, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.754/1.754, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9822 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.889e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003646/0.003675, allocations: 3.047 MB / 0.9851 GB, free: 15.07 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002099/0.005774, allocations: 1.865 MB / 0.987 GB, free: 13.19 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.005881, allocations: 7.938 kB / 0.987 GB, free: 13.18 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006306/0.006512, allocations: 285.2 kB / 0.9872 GB, free: 12.91 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.00682, allocations: 202.8 kB / 0.9874 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.007174, allocations: 266.9 kB / 0.9877 GB, free: 12.45 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.007459, allocations: 334.7 kB / 0.988 GB, free: 12.12 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.007725, allocations: 149.1 kB / 0.9882 GB, free: 11.97 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.007943, allocations: 191.5 kB / 0.9883 GB, free: 11.78 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.008157, allocations: 135.6 kB / 0.9885 GB, free: 11.65 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.008183, allocations: 20 kB / 0.9885 GB, free: 11.63 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.008552, allocations: 379.1 kB / 0.9888 GB, free: 11.26 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.008633, allocations: 99.64 kB / 0.9889 GB, free: 11.16 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.783e-05/0.008701, allocations: 79.83 kB / 0.989 GB, free: 11.08 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006359/0.009337, allocations: 0.518 MB / 0.9895 GB, free: 10.56 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.009342, allocations: 0 / 0.9895 GB, free: 10.56 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.009343, allocations: 0 / 0.9895 GB, free: 10.56 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.009349, allocations: 0 / 0.9895 GB, free: 10.56 MB / 0.948 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.0006306/0.00998, allocations: 0.4971 MB / 0.99 GB, free: 10.04 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.01002, allocations: 12.03 kB / 0.99 GB, free: 10.02 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004433/0.01046, allocations: 112.6 kB / 0.9901 GB, free: 9.914 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.0107, allocations: 195.5 kB / 0.9903 GB, free: 9.699 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.01072, allocations: 24.84 kB / 0.9903 GB, free: 9.672 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.01075, allocations: 20.36 kB / 0.9904 GB, free: 9.652 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.01115, allocations: 409 kB / 0.9907 GB, free: 9.223 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.01116, allocations: 192 / 0.9907 GB, free: 9.223 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.01118, allocations: 8.375 kB / 0.9908 GB, free: 9.215 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.01121, allocations: 28.42 kB / 0.9908 GB, free: 9.184 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.01151, allocations: 289.8 kB / 0.9911 GB, free: 8.902 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.01273, allocations: 1.234 MB / 0.9923 GB, free: 7.609 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.01302, allocations: 252.9 kB / 0.9925 GB, free: 7.344 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.01312, allocations: 97.67 kB / 0.9926 GB, free: 7.242 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.346e-05/0.01317, allocations: 11.98 kB / 0.9926 GB, free: 7.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.0132, allocations: 34.56 kB / 0.9926 GB, free: 7.188 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.0132, allocations: 0 / 0.9926 GB, free: 7.188 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.001481/0.01468, allocations: 0.8931 MB / 0.9935 GB, free: 6.277 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.01472, allocations: 81.11 kB / 0.9936 GB, free: 6.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.01487, allocations: 216 kB / 0.9938 GB, free: 5.957 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.01489, allocations: 33.7 kB / 0.9938 GB, free: 5.918 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.01497, allocations: 164.5 kB / 0.994 GB, free: 5.754 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.01501, allocations: 87.25 kB / 0.9941 GB, free: 5.668 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.152e-05/0.01509, allocations: 73.62 kB / 0.9941 GB, free: 5.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.01518, allocations: 334.8 kB / 0.9945 GB, free: 5.254 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.01533, allocations: 127.9 kB / 0.9946 GB, free: 5.129 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.01549, allocations: 210.8 kB / 0.9948 GB, free: 4.891 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.0158, allocations: 363.2 kB / 0.9951 GB, free: 4.504 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.0158, allocations: 0 / 0.9951 GB, free: 4.504 MB / 0.948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005384/0.01634, allocations: 0.4965 MB / 0.9956 GB, free: 3.988 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.01636, allocations: 8.312 kB / 0.9956 GB, free: 3.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01636, allocations: 4 kB / 0.9956 GB, free: 3.977 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003141/0.01668, allocations: 155.3 kB / 0.9958 GB, free: 3.812 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.01683, allocations: 63.89 kB / 0.9958 GB, free: 3.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.01897, allocations: 3.922 MB / 0.9997 GB, free: 15.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.596e-05/0.01906, allocations: 20.42 kB / 0.9997 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.01908, allocations: 19.92 kB / 0.9997 GB, free: 15.53 MB / 0.9636 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.0001205/0.0192, allocations: 162.4 kB / 0.9999 GB, free: 15.36 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.01924, allocations: 19.86 kB / 0.9999 GB, free: 15.34 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005947/0.01983, allocations: 488.7 kB / 1 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.01984, allocations: 0 / 1 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.01984, allocations: 4 kB / 1 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.01985, allocations: 0 / 1 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009353/0.02078, allocations: 0.8901 MB / 1.001 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02078, allocations: 256 / 1.001 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-05/0.02085, allocations: 39.92 kB / 1.001 GB, free: 13.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.02107, allocations: 139.3 kB / 1.001 GB, free: 13.69 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.02109, allocations: 8.031 kB / 1.001 GB, free: 13.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.0231, allocations: 3.911 MB / 1.005 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.0231, allocations: 4 kB / 1.005 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/0.02367, allocations: 0.6141 MB / 1.006 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.02374, allocations: 51.83 kB / 1.006 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.02375, allocations: 4 kB / 1.006 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.02388, allocations: 15.98 kB / 1.006 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.02391, allocations: 31.89 kB / 1.006 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.02393, allocations: 15.94 kB / 1.006 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.405e-05/0.02402, allocations: 152.2 kB / 1.006 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.02402, allocations: 0 / 1.006 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003374/0.02436, allocations: 99.86 kB / 1.006 GB, free: 8.484 MB / 0.9636 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.0002037/0.02456, allocations: 143.1 kB / 1.006 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006188/0.02518, allocations: 0.5694 MB / 1.007 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.02518, allocations: 4.062 kB / 1.007 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003337/0.02552, allocations: 395.7 kB / 1.007 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.02587, allocations: 42.44 kB / 1.007 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007765/0.02665, allocations: 0.6495 MB / 1.008 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.02678, allocations: 177.1 kB / 1.008 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.02683, allocations: 28.48 kB / 1.008 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of SimCode: time 8.42e-07/0.02683, allocations: 0 / 1.008 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of Templates: time 0.006895/0.03373, allocations: 7.801 MB / 1.016 GB, free: 14.56 MB / 0.9792 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: 7.961973794735968]