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.001004/0.001004, allocations: 92.22 kB / 19.65 MB, free: 276 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.001162/0.001162, allocations: 169 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.9515/0.9515, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.059/2.059, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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 1.633e-06/1.633e-06, allocations: 0 / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.345e-05, allocations: 6.812 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003182/0.003205, allocations: 2.633 MB / 0.8807 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.005161, allocations: 1.558 MB / 0.8822 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.005286, allocations: 9.281 kB / 0.8822 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004941/0.005781, allocations: 143.3 kB / 0.8824 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.006101, allocations: 169.3 kB / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.006545, allocations: 243.6 kB / 0.8828 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.006834, allocations: 335.6 kB / 0.8831 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.007089, allocations: 145.1 kB / 0.8832 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005351/0.007624, allocations: 198.9 kB / 0.8834 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.007896, allocations: 135.6 kB / 0.8835 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.007929, allocations: 24 kB / 0.8836 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.008362, allocations: 315.3 kB / 0.8839 GB, free: 496 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.819e-05/0.008451, allocations: 87.73 kB / 0.884 GB, free: 408 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.783e-05/0.008528, allocations: 83.83 kB / 0.884 GB, free: 324 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.008983, allocations: 390.8 kB / 0.8844 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.008988, allocations: 0 / 0.8844 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.242e-06/0.008989, allocations: 0.5938 kB / 0.8844 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.008995, allocations: 0 / 0.8844 GB, free: 15.93 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.0006574/0.009652, allocations: 0.5907 MB / 0.885 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.009692, allocations: 8.031 kB / 0.885 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005395/0.01023, allocations: 164.5 kB / 0.8851 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.01049, allocations: 212.2 kB / 0.8853 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.01051, allocations: 20.86 kB / 0.8854 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.01054, allocations: 20.36 kB / 0.8854 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.01087, allocations: 294.1 kB / 0.8857 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.01088, allocations: 192 / 0.8857 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.0109, allocations: 12.36 kB / 0.8857 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.01094, allocations: 32.42 kB / 0.8857 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.01114, allocations: 122.8 kB / 0.8858 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.01238, allocations: 1.391 MB / 0.8872 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.01264, allocations: 174 kB / 0.8874 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/0.01271, allocations: 55.34 kB / 0.8874 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.231e-05/0.01276, allocations: 8.281 kB / 0.8874 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.01279, allocations: 41.38 kB / 0.8875 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.01279, allocations: 0 / 0.8875 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.001151/0.01394, allocations: 0.5546 MB / 0.888 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.01398, allocations: 85.05 kB / 0.8881 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.01412, allocations: 255.1 kB / 0.8883 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.01414, allocations: 33.7 kB / 0.8884 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.01423, allocations: 223.2 kB / 0.8886 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.01427, allocations: 83.31 kB / 0.8886 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.01434, allocations: 63.36 kB / 0.8887 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.01446, allocations: 0.5117 MB / 0.8892 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.01453, allocations: 43.97 kB / 0.8892 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.01466, allocations: 166 kB / 0.8894 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.01487, allocations: 240.3 kB / 0.8896 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.01488, allocations: 0 / 0.8896 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004342/0.01531, allocations: 344 kB / 0.89 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.01533, allocations: 16.05 kB / 0.89 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.01533, allocations: 0 / 0.89 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007932/0.01613, allocations: 134.6 kB / 0.8901 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.01627, allocations: 55.91 kB / 0.8902 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.01828, allocations: 5.119 MB / 0.8952 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.01838, allocations: 15.98 kB / 0.8952 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.0184, allocations: 16 kB / 0.8952 GB, free: 4.156 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.000105/0.0185, allocations: 176.7 kB / 0.8954 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.01855, allocations: 27.91 kB / 0.8954 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.01896, allocations: 290 kB / 0.8957 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01897, allocations: 4 kB / 0.8957 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.01897, allocations: 4 kB / 0.8957 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01897, allocations: 3.938 kB / 0.8957 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008078/0.01978, allocations: 0.7494 MB / 0.8964 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.01979, allocations: 7.984 kB / 0.8964 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.01985, allocations: 27.98 kB / 0.8964 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00027/0.02012, allocations: 134.8 kB / 0.8966 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.02014, allocations: 12 kB / 0.8966 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/0.02222, allocations: 5.107 MB / 0.9016 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.02222, allocations: 4 kB / 0.9016 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/0.02267, allocations: 0.5969 MB / 0.9022 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/0.02274, allocations: 43.83 kB / 0.9022 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.02276, allocations: 11.98 kB / 0.9022 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.02288, allocations: 23.92 kB / 0.9022 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.02292, allocations: 24 kB / 0.9023 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.02293, allocations: 16 kB / 0.9023 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.848e-05/0.02302, allocations: 179.1 kB / 0.9024 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02302, allocations: 0 / 0.9024 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003564/0.02338, allocations: 95.92 kB / 0.9025 GB, free: 12.12 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.000229/0.02361, allocations: 139.1 kB / 0.9027 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005546/0.02416, allocations: 0.5544 MB / 0.9032 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.02416, allocations: 0 / 0.9032 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.02444, allocations: 460 kB / 0.9036 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.0003412/0.02478, allocations: 55.92 kB / 0.9037 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.026, allocations: 0.5636 MB / 0.9042 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.059e-05/0.02608, allocations: 108.2 kB / 0.9043 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.942e-05/0.02617, allocations: 50.25 kB / 0.9044 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.02622, allocations: 32.42 kB / 0.9044 GB, free: 10 MB / 0.8698 GB Notification: Performance of SimCode: time 8.01e-07/0.02622, allocations: 7.938 kB / 0.9044 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of Templates: time 0.006363/0.03258, allocations: 4.226 MB / 0.9086 GB, free: 5.824 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.561579082161188]