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.0009753/0.0009753, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009919/0.0009919, allocations: 165.4 kB / 24.87 MB, free: 9.27 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.9065/0.9065, allocations: 177.2 MB / 205.3 MB, free: 5.516 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.75/1.75, allocations: 359 MB / 0.6063 GB, free: 10.9 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.473e-06/1.473e-06, allocations: 3.938 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.13e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.002909/0.002931, allocations: 2.663 MB / 0.7909 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.004701, allocations: 1.462 MB / 0.7923 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.004804, allocations: 7.938 kB / 0.7923 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004141/0.005218, allocations: 100.1 kB / 0.7924 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.005498, allocations: 204.5 kB / 0.7926 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.005827, allocations: 262 kB / 0.7929 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.006142, allocations: 422.5 kB / 0.7933 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.00637, allocations: 173.7 kB / 0.7935 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.006599, allocations: 223.5 kB / 0.7937 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.006837, allocations: 188.1 kB / 0.7938 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.006867, allocations: 24.91 kB / 0.7939 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.007057, allocations: 175.5 kB / 0.794 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.727e-05/0.007154, allocations: 127.7 kB / 0.7942 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.044e-05/0.007234, allocations: 108.4 kB / 0.7943 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.007555, allocations: 351.5 kB / 0.7946 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.007558, allocations: 4 kB / 0.7946 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.32e-07/0.007559, allocations: 0.6875 kB / 0.7946 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.007563, allocations: 0 / 0.7946 GB, free: 5.789 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.0006198/0.008182, allocations: 0.6188 MB / 0.7952 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.008213, allocations: 12.03 kB / 0.7952 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005219/0.008735, allocations: 146.2 kB / 0.7954 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.008955, allocations: 223 kB / 0.7956 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.008969, allocations: 12.88 kB / 0.7956 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.144e-05/0.00905, allocations: 36.67 kB / 0.7956 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.009431, allocations: 401.8 kB / 0.796 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.009444, allocations: 6.047 kB / 0.796 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.009466, allocations: 11.94 kB / 0.796 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-05/0.009539, allocations: 36.47 kB / 0.7961 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.009694, allocations: 133.8 kB / 0.7962 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.01086, allocations: 1.769 MB / 0.7979 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.01102, allocations: 131.5 kB / 0.798 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.038e-05/0.01108, allocations: 57.28 kB / 0.7981 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.0111, allocations: 4 kB / 0.7981 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.01112, allocations: 41.33 kB / 0.7981 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.01112, allocations: 0 / 0.7981 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0007222/0.01184, allocations: 498.2 kB / 0.7986 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.01187, allocations: 56.25 kB / 0.7987 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.01204, allocations: 280.3 kB / 0.7989 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.01205, allocations: 29.7 kB / 0.799 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.687e-05/0.01214, allocations: 239 kB / 0.7992 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.01218, allocations: 95.19 kB / 0.7993 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.282e-05/0.01227, allocations: 83.27 kB / 0.7994 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.01238, allocations: 0.5087 MB / 0.7998 GB, free: 120 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.485e-05/0.01244, allocations: 54.12 kB / 0.7999 GB, free: 68 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.01257, allocations: 169.2 kB / 0.8001 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.01276, allocations: 232 kB / 0.8003 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.01276, allocations: 0.5 kB / 0.8003 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000466/0.01322, allocations: 362.5 kB / 0.8006 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.01323, allocations: 9.812 kB / 0.8006 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01324, allocations: 4 kB / 0.8006 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005188/0.01376, allocations: 188.5 kB / 0.8008 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.0139, allocations: 59.91 kB / 0.8009 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.01524, allocations: 2.122 MB / 0.803 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.01538, allocations: 23.92 kB / 0.803 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.0154, allocations: 8 kB / 0.803 GB, free: 12.7 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.273e-05/0.01549, allocations: 176.5 kB / 0.8032 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.01553, allocations: 27.86 kB / 0.8032 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.01573, allocations: 197.8 kB / 0.8034 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.01573, allocations: 4 kB / 0.8034 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-07/0.01573, allocations: 0 / 0.8034 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01574, allocations: 3.984 kB / 0.8034 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.01618, allocations: 0.5127 MB / 0.8039 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01619, allocations: 0 / 0.8039 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.01637, allocations: 67.89 kB / 0.8039 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.01637, allocations: 7.938 kB / 0.8039 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.01638, allocations: 4 kB / 0.8039 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01639, allocations: 8.062 kB / 0.804 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01639, allocations: 3.984 kB / 0.804 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.01666, allocations: 391.3 kB / 0.8043 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.01672, allocations: 43.81 kB / 0.8044 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.01675, allocations: 8 kB / 0.8044 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.319e-05/0.01684, allocations: 4 kB / 0.8044 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.01687, allocations: 23.84 kB / 0.8044 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.01688, allocations: 8 kB / 0.8044 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.139e-05/0.01697, allocations: 188 kB / 0.8046 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01697, allocations: 4 kB / 0.8046 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002441/0.01721, allocations: 88 kB / 0.8047 GB, free: 10.88 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.0001068/0.01732, allocations: 103.2 kB / 0.8048 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004081/0.01772, allocations: 413.4 kB / 0.8052 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01773, allocations: 0 / 0.8052 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.086e-05/0.0178, allocations: 76.08 kB / 0.8053 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.01807, allocations: 67.06 kB / 0.8053 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009541/0.01903, allocations: 0.7011 MB / 0.806 GB, free: 9.457 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.655e-05/0.01909, allocations: 124.3 kB / 0.8061 GB, free: 9.316 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.483e-05/0.01919, allocations: 30.28 kB / 0.8061 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.01932, allocations: 114.2 kB / 0.8063 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of SimCode: time 8.92e-07/0.01932, allocations: 0 / 0.8063 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of Templates: time 0.006099/0.02542, allocations: 4.545 MB / 0.8107 GB, free: 4.68 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: 4.953245606273413]