Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009535/0.0009535, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009344/0.0009344, 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.9026/0.9026, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.051/2.051, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.769e-05, allocations: 3.188 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00441/0.004438, allocations: 2.683 MB / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002715/0.007153, allocations: 1.474 MB / 0.8822 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.007313, allocations: 9.562 kB / 0.8822 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004474/0.007761, allocations: 99.38 kB / 0.8823 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.008106, allocations: 195.8 kB / 0.8825 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.008584, allocations: 266.5 kB / 0.8828 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.008941, allocations: 426.5 kB / 0.8832 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.009216, allocations: 161 kB / 0.8833 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.009484, allocations: 233 kB / 0.8836 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.009743, allocations: 187.5 kB / 0.8837 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.009776, allocations: 27.16 kB / 0.8838 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.01, allocations: 175.5 kB / 0.8839 GB, free: 444 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.01011, allocations: 127.7 kB / 0.884 GB, free: 316 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.975e-05/0.0102, allocations: 99.75 kB / 0.8841 GB, free: 216 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.0106, allocations: 350.9 kB / 0.8845 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.0106, allocations: 0 / 0.8845 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.342e-06/0.0106, allocations: 0 / 0.8845 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.01061, allocations: 0 / 0.8845 GB, free: 15.87 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007006/0.01131, allocations: 0.6258 MB / 0.8851 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.01134, allocations: 12.03 kB / 0.8851 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005908/0.01194, allocations: 158.4 kB / 0.8853 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.01221, allocations: 231 kB / 0.8855 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.01223, allocations: 28.86 kB / 0.8855 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.567e-05/0.01231, allocations: 28.75 kB / 0.8855 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.01274, allocations: 425.2 kB / 0.8859 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.01275, allocations: 192 / 0.8859 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.01277, allocations: 15.92 kB / 0.8859 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.392e-05/0.01286, allocations: 36.47 kB / 0.886 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.0131, allocations: 158.8 kB / 0.8861 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.01449, allocations: 1.841 MB / 0.8879 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.01471, allocations: 155 kB / 0.8881 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.01479, allocations: 63.67 kB / 0.8881 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.01481, allocations: 4 kB / 0.8881 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.01483, allocations: 45.31 kB / 0.8882 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.01484, allocations: 0 / 0.8882 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0009892/0.01582, allocations: 0.5422 MB / 0.8887 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.01586, allocations: 63.34 kB / 0.8888 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.01608, allocations: 294.3 kB / 0.8891 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.0161, allocations: 29.7 kB / 0.8891 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.13e-05/0.01619, allocations: 239 kB / 0.8893 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.01625, allocations: 95.22 kB / 0.8894 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-05/0.01633, allocations: 79.3 kB / 0.8895 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.01645, allocations: 0.5079 MB / 0.89 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.01655, allocations: 59.95 kB / 0.89 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.0167, allocations: 176.8 kB / 0.8902 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.01695, allocations: 262 kB / 0.8905 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01695, allocations: 0 / 0.8905 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005742/0.01753, allocations: 399 kB / 0.8908 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.01754, allocations: 6.656 kB / 0.8908 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01755, allocations: 7.938 kB / 0.8908 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005811/0.01813, allocations: 187.7 kB / 0.891 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.0183, allocations: 67.91 kB / 0.8911 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.0198, allocations: 2.194 MB / 0.8932 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.01996, allocations: 15.98 kB / 0.8932 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.01998, allocations: 16 kB / 0.8933 GB, free: 6.312 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): 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.0001002/0.02008, allocations: 172.5 kB / 0.8934 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.02012, allocations: 31.86 kB / 0.8935 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.02038, allocations: 203.4 kB / 0.8937 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.02038, allocations: 4 kB / 0.8937 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.02038, allocations: 11.91 kB / 0.8937 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.02039, allocations: 0 / 0.8937 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.02094, allocations: 0.5797 MB / 0.8942 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.02094, allocations: 0 / 0.8942 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.02115, allocations: 71.88 kB / 0.8943 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.02115, allocations: 4 kB / 0.8943 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.02117, allocations: 11.88 kB / 0.8943 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.02117, allocations: 4 kB / 0.8943 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.02117, allocations: 4 kB / 0.8943 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.02152, allocations: 418.5 kB / 0.8947 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.02159, allocations: 55.75 kB / 0.8948 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.02161, allocations: 8 kB / 0.8948 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.02172, allocations: 11.98 kB / 0.8948 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.02174, allocations: 19.91 kB / 0.8948 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.02176, allocations: 4 kB / 0.8948 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001089/0.02186, allocations: 200 kB / 0.895 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02186, allocations: 0 / 0.895 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002771/0.02214, allocations: 88 kB / 0.8951 GB, free: 4.348 MB / 0.8542 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.0001304/0.02227, allocations: 103.2 kB / 0.8952 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005176/0.02279, allocations: 447.1 kB / 0.8956 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02279, allocations: 0.625 kB / 0.8956 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.107e-05/0.02288, allocations: 84.91 kB / 0.8957 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.02318, allocations: 57.39 kB / 0.8958 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.02431, allocations: 0.7063 MB / 0.8964 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.557e-05/0.02439, allocations: 116.3 kB / 0.8966 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.02451, allocations: 70.2 kB / 0.8966 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.02458, allocations: 24.5 kB / 0.8966 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.02458, allocations: 0 / 0.8966 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of Templates: time 0.005801/0.03038, allocations: 4.219 MB / 0.9008 GB, free: 14.5 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.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.4756797519512475]