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.001447/0.001447, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001728/0.001728, allocations: 165 kB / 24.17 MB, free: 336 kB / 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.915/0.915, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.831/1.831, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.32e-05, allocations: 3.719 kB / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.006708/0.006731, allocations: 2.624 MB / 0.7626 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005604/0.01234, allocations: 1.579 MB / 0.7641 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.01246, allocations: 5.062 kB / 0.7641 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005164/0.01298, allocations: 139.3 kB / 0.7642 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.01336, allocations: 172.7 kB / 0.7644 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.01378, allocations: 240.4 kB / 0.7646 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.01406, allocations: 339.6 kB / 0.765 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.01429, allocations: 159 kB / 0.7651 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.0145, allocations: 192.5 kB / 0.7653 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.01473, allocations: 135.6 kB / 0.7654 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.01475, allocations: 24.67 kB / 0.7654 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.01509, allocations: 307.3 kB / 0.7657 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.875e-05/0.01517, allocations: 97.5 kB / 0.7658 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.581e-05/0.01524, allocations: 79.83 kB / 0.7659 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.01561, allocations: 386.7 kB / 0.7663 GB, free: 260 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.01562, allocations: 0 / 0.7663 GB, free: 260 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.363e-06/0.01562, allocations: 0 / 0.7663 GB, free: 260 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.01562, allocations: 5.203 kB / 0.7663 GB, free: 256 kB / 0.7136 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.000585/0.01621, allocations: 464.5 kB / 0.7667 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.01624, allocations: 8.031 kB / 0.7667 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004787/0.01672, allocations: 141.4 kB / 0.7669 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.01694, allocations: 201.3 kB / 0.7671 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.01695, allocations: 12.88 kB / 0.7671 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.01699, allocations: 24.36 kB / 0.7671 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.01723, allocations: 263.9 kB / 0.7673 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.01724, allocations: 5.062 kB / 0.7673 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.01726, allocations: 12.38 kB / 0.7674 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.0173, allocations: 25.58 kB / 0.7674 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.01741, allocations: 87.38 kB / 0.7675 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009867/0.0184, allocations: 1.019 MB / 0.7685 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.0186, allocations: 182.7 kB / 0.7686 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.544e-05/0.01865, allocations: 33.7 kB / 0.7687 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.286e-05/0.01869, allocations: 13.88 kB / 0.7687 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.01871, allocations: 42.48 kB / 0.7687 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.01872, allocations: 0 / 0.7687 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0005653/0.01928, allocations: 243.3 kB / 0.769 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.01931, allocations: 83.33 kB / 0.769 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.01943, allocations: 188 kB / 0.7692 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.01944, allocations: 29.7 kB / 0.7692 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.01951, allocations: 172.1 kB / 0.7694 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.01954, allocations: 55.52 kB / 0.7695 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.01959, allocations: 49.64 kB / 0.7695 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.01967, allocations: 331.6 kB / 0.7698 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.55e-05/0.0197, allocations: 27.98 kB / 0.7698 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.548e-05/0.01978, allocations: 109.8 kB / 0.77 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.01992, allocations: 147.2 kB / 0.7701 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.01992, allocations: 2.438 kB / 0.7701 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002614/0.02018, allocations: 204.2 kB / 0.7703 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.0202, allocations: 7.984 kB / 0.7703 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.0202, allocations: 4 kB / 0.7703 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002333/0.02044, allocations: 73.94 kB / 0.7704 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.02055, allocations: 52.97 kB / 0.7704 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000809/0.02136, allocations: 1.726 MB / 0.7721 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.02143, allocations: 27.78 kB / 0.7721 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.02144, allocations: 11.23 kB / 0.7721 GB, free: 9.82 MB / 0.7292 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.96e-05/0.02152, allocations: 128.6 kB / 0.7723 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.02156, allocations: 15.92 kB / 0.7723 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.0218, allocations: 173.9 kB / 0.7724 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.0218, allocations: 0 / 0.7724 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.0218, allocations: 3.938 kB / 0.7725 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.02181, allocations: 4 kB / 0.7725 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004941/0.0223, allocations: 0.5233 MB / 0.773 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.0223, allocations: 4 kB / 0.773 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.02235, allocations: 22.8 kB / 0.773 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001566/0.02251, allocations: 71.31 kB / 0.7731 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.02252, allocations: 4 kB / 0.7731 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006981/0.02322, allocations: 1.735 MB / 0.7748 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.02322, allocations: 0 / 0.7748 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.0235, allocations: 459.7 kB / 0.7752 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.02355, allocations: 35.77 kB / 0.7752 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.02356, allocations: 8 kB / 0.7752 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.02365, allocations: 8 kB / 0.7752 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.02368, allocations: 19.84 kB / 0.7753 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.02368, allocations: 4 kB / 0.7753 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.502e-05/0.02373, allocations: 63.45 kB / 0.7753 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.02373, allocations: 0 / 0.7753 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002643/0.02399, allocations: 79.83 kB / 0.7754 GB, free: 6.227 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001281/0.02412, allocations: 105.5 kB / 0.7755 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.02445, allocations: 233.5 kB / 0.7757 GB, free: 5.875 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.02446, allocations: 4 kB / 0.7757 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.02457, allocations: 181.2 kB / 0.7759 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.02483, allocations: 39.72 kB / 0.7759 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.02555, allocations: 494 kB / 0.7764 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.334e-05/0.02561, allocations: 101.5 kB / 0.7765 GB, free: 5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.206e-05/0.02568, allocations: 22.55 kB / 0.7765 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.92e-05/0.02577, allocations: 79.34 kB / 0.7766 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of SimCode: time 8.82e-07/0.02577, allocations: 0 / 0.7766 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of Templates: time 0.005345/0.03112, allocations: 3.157 MB / 0.7797 GB, free: 1.898 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.012244655750692]