Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001565/0.001565, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 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.001835/0.001835, allocations: 173 kB / 23.02 MB, free: 1.551 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.9734/0.9734, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.101/2.101, allocations: 429.5 MB / 0.6732 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.6e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003496/0.003522, allocations: 2.642 MB / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002302/0.005823, allocations: 1.555 MB / 0.8822 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.005989, allocations: 7.938 kB / 0.8822 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006015/0.00659, allocations: 148.6 kB / 0.8824 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.007004, allocations: 164.2 kB / 0.8825 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.007579, allocations: 244.9 kB / 0.8828 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.007965, allocations: 338.8 kB / 0.8831 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.00833, allocations: 150.1 kB / 0.8832 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.008647, allocations: 187.5 kB / 0.8834 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.008962, allocations: 140.7 kB / 0.8836 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.008998, allocations: 20 kB / 0.8836 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.009499, allocations: 315.2 kB / 0.8839 GB, free: 488 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.958e-05/0.009598, allocations: 96.86 kB / 0.884 GB, free: 392 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.009682, allocations: 83.81 kB / 0.884 GB, free: 308 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.01021, allocations: 382.9 kB / 0.8844 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.01021, allocations: 1.406 kB / 0.8844 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.52e-07/0.01021, allocations: 4 kB / 0.8844 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.01022, allocations: 0 / 0.8844 GB, free: 15.92 MB / 0.8542 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.0007235/0.01094, allocations: 0.5925 MB / 0.885 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.01098, allocations: 8.031 kB / 0.885 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000586/0.01157, allocations: 164.5 kB / 0.8852 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.01185, allocations: 213.8 kB / 0.8854 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.01187, allocations: 14 kB / 0.8854 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.0119, allocations: 20.36 kB / 0.8854 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.01226, allocations: 298.1 kB / 0.8857 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.01227, allocations: 1.75 kB / 0.8857 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.0123, allocations: 8.375 kB / 0.8857 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.01234, allocations: 28.42 kB / 0.8857 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.01255, allocations: 124 kB / 0.8858 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.014, allocations: 1.387 MB / 0.8872 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.01428, allocations: 182 kB / 0.8874 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.316e-05/0.01435, allocations: 55.34 kB / 0.8874 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.852e-05/0.01441, allocations: 12.28 kB / 0.8874 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.01444, allocations: 37.39 kB / 0.8875 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.495e-06/0.01444, allocations: 0 / 0.8875 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.001228/0.01567, allocations: 0.5619 MB / 0.888 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.01571, allocations: 81.05 kB / 0.8881 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.01588, allocations: 259.1 kB / 0.8883 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.0159, allocations: 25.7 kB / 0.8884 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.016, allocations: 223.2 kB / 0.8886 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.01605, allocations: 87.27 kB / 0.8887 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-05/0.01613, allocations: 63.36 kB / 0.8887 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.01628, allocations: 0.5039 MB / 0.8892 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.283e-05/0.01636, allocations: 51.97 kB / 0.8893 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.01649, allocations: 158 kB / 0.8894 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.01672, allocations: 248.4 kB / 0.8896 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01673, allocations: 0 / 0.8896 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004622/0.01719, allocations: 343.8 kB / 0.89 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.01721, allocations: 7.984 kB / 0.89 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.01722, allocations: 4 kB / 0.89 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003837/0.0176, allocations: 134.9 kB / 0.8901 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.01776, allocations: 59.91 kB / 0.8902 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.02015, allocations: 5.119 MB / 0.8952 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.944e-05/0.02025, allocations: 15.98 kB / 0.8952 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.02027, allocations: 16 kB / 0.8952 GB, free: 4.148 MB / 0.8542 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.0001166/0.02038, allocations: 172.5 kB / 0.8954 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.02043, allocations: 27.91 kB / 0.8954 GB, free: 3.941 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004364/0.02087, allocations: 294 kB / 0.8957 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.02087, allocations: 3.984 kB / 0.8957 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.02088, allocations: 4 kB / 0.8957 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.02088, allocations: 0 / 0.8957 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008134/0.02169, allocations: 0.7531 MB / 0.8964 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.0217, allocations: 4 kB / 0.8964 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.02177, allocations: 31.97 kB / 0.8965 GB, free: 2.746 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00028/0.02205, allocations: 134.8 kB / 0.8966 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.02206, allocations: 4 kB / 0.8966 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.02421, allocations: 5.111 MB / 0.9016 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.02421, allocations: 4 kB / 0.9016 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004856/0.0247, allocations: 0.601 MB / 0.9022 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.355e-05/0.02476, allocations: 47.83 kB / 0.9022 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.02478, allocations: 8 kB / 0.9022 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.02489, allocations: 19.97 kB / 0.9022 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.02495, allocations: 23.97 kB / 0.9023 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.02497, allocations: 11.94 kB / 0.9023 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.481e-05/0.02506, allocations: 175.1 kB / 0.9024 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.02506, allocations: 0 / 0.9024 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003332/0.02539, allocations: 91.92 kB / 0.9025 GB, free: 12.13 MB / 0.8698 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.0002047/0.0256, allocations: 151 kB / 0.9027 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005917/0.02619, allocations: 0.547 MB / 0.9032 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.02619, allocations: 8.062 kB / 0.9032 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.02649, allocations: 458.9 kB / 0.9037 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.02683, allocations: 44.81 kB / 0.9037 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.02784, allocations: 0.5645 MB / 0.9042 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.926e-05/0.02793, allocations: 112.2 kB / 0.9044 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.02803, allocations: 46.25 kB / 0.9044 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.02807, allocations: 28.48 kB / 0.9044 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of SimCode: time 1.312e-06/0.02808, allocations: 0 / 0.9044 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of Templates: time 0.00696/0.03504, allocations: 4.42 MB / 0.9087 GB, free: 5.656 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.6471964730881155]