Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009582/0.0009582, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009137/0.0009137, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9815/0.9815, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.741/1.741, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_11_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_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.844e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003927/0.003955, allocations: 2.681 MB / 0.7897 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.006008, allocations: 1.475 MB / 0.7912 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.006133, allocations: 7.938 kB / 0.7912 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000439/0.006572, allocations: 103.4 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.006921, allocations: 196.6 kB / 0.7914 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.007382, allocations: 265.4 kB / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.007768, allocations: 422.6 kB / 0.7921 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.008035, allocations: 174.8 kB / 0.7923 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.008304, allocations: 220.9 kB / 0.7925 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.008563, allocations: 187.5 kB / 0.7927 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.008594, allocations: 24.97 kB / 0.7927 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.008819, allocations: 171.6 kB / 0.7928 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.008922, allocations: 132.4 kB / 0.793 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.291e-05/0.009005, allocations: 103.7 kB / 0.7931 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.009375, allocations: 361.4 kB / 0.7934 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.009377, allocations: 0 / 0.7934 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.009378, allocations: 0 / 0.7934 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.009383, allocations: 0 / 0.7934 GB, free: 6.008 MB / 0.7448 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.0006737/0.01006, allocations: 0.6171 MB / 0.794 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.01009, allocations: 8.031 kB / 0.794 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005836/0.01067, allocations: 161.7 kB / 0.7942 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.01092, allocations: 235 kB / 0.7944 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.01094, allocations: 17.38 kB / 0.7944 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-05/0.01102, allocations: 37.31 kB / 0.7945 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.01143, allocations: 422.1 kB / 0.7949 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.01144, allocations: 4.125 kB / 0.7949 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.01147, allocations: 17.09 kB / 0.7949 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.314e-05/0.01155, allocations: 40.47 kB / 0.7949 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.01178, allocations: 156.1 kB / 0.7951 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.01313, allocations: 1.836 MB / 0.7969 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.01335, allocations: 151.8 kB / 0.797 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.01343, allocations: 63.66 kB / 0.7971 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.01345, allocations: 5.25 kB / 0.7971 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.01347, allocations: 41.39 kB / 0.7971 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.01347, allocations: 0 / 0.7971 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0008973/0.01437, allocations: 0.5637 MB / 0.7977 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.01439, allocations: 55.34 kB / 0.7977 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.01458, allocations: 284.6 kB / 0.798 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.01459, allocations: 29.7 kB / 0.798 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.01478, allocations: 243 kB / 0.7982 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.01482, allocations: 87.27 kB / 0.7983 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.01491, allocations: 87.28 kB / 0.7984 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.01502, allocations: 0.5064 MB / 0.7989 GB, free: 80 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.01512, allocations: 63.92 kB / 0.799 GB, free: 16 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.01527, allocations: 181.1 kB / 0.7991 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.01552, allocations: 261 kB / 0.7994 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01552, allocations: 0 / 0.7994 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005588/0.01608, allocations: 394.3 kB / 0.7998 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.01609, allocations: 4 kB / 0.7998 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.0161, allocations: 5.781 kB / 0.7998 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.01665, allocations: 187.1 kB / 0.8 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.01682, allocations: 63.89 kB / 0.8 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.01827, allocations: 2.188 MB / 0.8021 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.01843, allocations: 27.97 kB / 0.8022 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.01845, allocations: 8 kB / 0.8022 GB, free: 12.5 MB / 0.7605 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 9.887e-05/0.01854, allocations: 176.5 kB / 0.8024 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.01858, allocations: 31.88 kB / 0.8024 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.01882, allocations: 211.4 kB / 0.8026 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01883, allocations: 4 kB / 0.8026 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01883, allocations: 3.938 kB / 0.8026 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01883, allocations: 3.984 kB / 0.8026 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.01934, allocations: 0.5767 MB / 0.8032 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01934, allocations: 0 / 0.8032 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.01954, allocations: 75.94 kB / 0.8032 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01954, allocations: 0 / 0.8032 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.01956, allocations: 16 kB / 0.8032 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01956, allocations: 0 / 0.8032 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01956, allocations: 3.938 kB / 0.8032 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.01989, allocations: 413.7 kB / 0.8036 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.01996, allocations: 51.77 kB / 0.8037 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.01999, allocations: 11.92 kB / 0.8037 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.02009, allocations: 15.98 kB / 0.8037 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.02012, allocations: 11.98 kB / 0.8037 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.02013, allocations: 11.98 kB / 0.8037 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001093/0.02024, allocations: 192 kB / 0.8039 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02024, allocations: 3.938 kB / 0.8039 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000269/0.02051, allocations: 95.94 kB / 0.804 GB, free: 10.53 MB / 0.7605 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.000122/0.02063, allocations: 111.2 kB / 0.8041 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005108/0.02114, allocations: 441.2 kB / 0.8045 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02114, allocations: 0 / 0.8045 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.58e-05/0.02123, allocations: 79.58 kB / 0.8046 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.02151, allocations: 58.86 kB / 0.8047 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.02266, allocations: 0.7158 MB / 0.8054 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.985e-05/0.02273, allocations: 108.3 kB / 0.8055 GB, free: 8.941 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.02286, allocations: 58.22 kB / 0.8055 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.02292, allocations: 28.48 kB / 0.8056 GB, free: 8.855 MB / 0.7605 GB Notification: Performance of SimCode: time 6.11e-07/0.02292, allocations: 0 / 0.8056 GB, free: 8.855 MB / 0.7605 GB Notification: Performance of Templates: time 0.006226/0.02915, allocations: 4.374 MB / 0.8098 GB, free: 4.535 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.057255183812231]