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.0008844/0.0008844, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0008849/0.0008849, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.8791/0.8791, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.776/1.776, allocations: 359 MB / 0.6055 GB, free: 10.86 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 2.214e-06/2.214e-06, allocations: 0 / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.247e-05, allocations: 5.328 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004279/0.004312, allocations: 2.65 MB / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002808/0.00712, allocations: 1.464 MB / 0.7916 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.007314, allocations: 7.938 kB / 0.7916 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005488/0.007863, allocations: 103.4 kB / 0.7917 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005095/0.008372, allocations: 200.6 kB / 0.7919 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007201/0.009092, allocations: 264.8 kB / 0.7921 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004978/0.00959, allocations: 423.4 kB / 0.7925 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.009897, allocations: 168.3 kB / 0.7927 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.01026, allocations: 224.7 kB / 0.7929 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.01065, allocations: 188.9 kB / 0.7931 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.01069, allocations: 24 kB / 0.7931 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.01105, allocations: 171.5 kB / 0.7933 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.01119, allocations: 127.7 kB / 0.7934 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.0113, allocations: 109.5 kB / 0.7935 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.01181, allocations: 350.8 kB / 0.7938 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.01182, allocations: 8 kB / 0.7938 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.513e-06/0.01182, allocations: 0 / 0.7938 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.01183, allocations: 1.125 kB / 0.7938 GB, free: 5.758 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.0008852/0.01271, allocations: 0.6171 MB / 0.7944 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.01276, allocations: 13.97 kB / 0.7945 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008515/0.01361, allocations: 144.4 kB / 0.7946 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.01395, allocations: 219.4 kB / 0.7948 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.01398, allocations: 16.88 kB / 0.7948 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.0141, allocations: 40.72 kB / 0.7949 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/0.01463, allocations: 397.8 kB / 0.7952 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.01465, allocations: 8.797 kB / 0.7952 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.01468, allocations: 11.94 kB / 0.7953 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.01482, allocations: 41 kB / 0.7953 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.01507, allocations: 124.9 kB / 0.7954 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.01695, allocations: 1.771 MB / 0.7971 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.0172, allocations: 130.9 kB / 0.7973 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.972e-05/0.0173, allocations: 56.5 kB / 0.7973 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.01732, allocations: 4 kB / 0.7973 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.01735, allocations: 38.61 kB / 0.7974 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 2.304e-06/0.01736, allocations: 4 kB / 0.7974 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001147/0.0185, allocations: 496.2 kB / 0.7978 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.01854, allocations: 55.41 kB / 0.7979 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.0188, allocations: 285.4 kB / 0.7982 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.198e-05/0.01888, allocations: 29.7 kB / 0.7982 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.01901, allocations: 239 kB / 0.7984 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.015e-05/0.01908, allocations: 95.19 kB / 0.7985 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.01921, allocations: 83.27 kB / 0.7986 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.01936, allocations: 0.5079 MB / 0.7991 GB, free: 88 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.01948, allocations: 51.91 kB / 0.7991 GB, free: 36 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.01967, allocations: 165.6 kB / 0.7993 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.01997, allocations: 238.9 kB / 0.7995 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01997, allocations: 4 kB / 0.7995 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007557/0.02073, allocations: 363.8 kB / 0.7999 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.02075, allocations: 9.562 kB / 0.7999 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.02076, allocations: 4 kB / 0.7999 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008042/0.02156, allocations: 184.9 kB / 0.8001 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.02181, allocations: 55.91 kB / 0.8001 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.02382, allocations: 2.124 MB / 0.8022 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.02408, allocations: 19.94 kB / 0.8022 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.02411, allocations: 11.98 kB / 0.8022 GB, free: 12.67 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 0.0001444/0.02425, allocations: 184.5 kB / 0.8024 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.02432, allocations: 23.86 kB / 0.8024 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.02463, allocations: 191.4 kB / 0.8026 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.02464, allocations: 4 kB / 0.8026 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.02464, allocations: 0 / 0.8026 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.02464, allocations: 0 / 0.8026 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007144/0.02536, allocations: 0.5205 MB / 0.8031 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.02536, allocations: 3.984 kB / 0.8031 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.02567, allocations: 63.95 kB / 0.8032 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.02567, allocations: 4.062 kB / 0.8032 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.0257, allocations: 8 kB / 0.8032 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.0257, allocations: 0 / 0.8032 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.02571, allocations: 11.91 kB / 0.8032 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.02616, allocations: 389 kB / 0.8036 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.02626, allocations: 43.81 kB / 0.8036 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.0263, allocations: 11.98 kB / 0.8036 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.02661, allocations: 8 kB / 0.8036 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/0.02669, allocations: 15.91 kB / 0.8037 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.02671, allocations: 8 kB / 0.8037 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002065/0.02692, allocations: 192 kB / 0.8038 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/0.02692, allocations: 3.938 kB / 0.8038 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003732/0.02729, allocations: 84 kB / 0.8039 GB, free: 10.84 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.0001436/0.02744, allocations: 103.2 kB / 0.804 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000511/0.02795, allocations: 417.3 kB / 0.8044 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.02795, allocations: 0 / 0.8044 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/0.02803, allocations: 84.44 kB / 0.8045 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.02832, allocations: 55.44 kB / 0.8046 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.02938, allocations: 0.7107 MB / 0.8052 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.779e-05/0.02945, allocations: 112.3 kB / 0.8054 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.936e-05/0.02955, allocations: 34.27 kB / 0.8054 GB, free: 9.25 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.02969, allocations: 114.2 kB / 0.8055 GB, free: 9.137 MB / 0.7605 GB Notification: Performance of SimCode: time 1.252e-06/0.02969, allocations: 4 kB / 0.8055 GB, free: 9.133 MB / 0.7605 GB Notification: Performance of Templates: time 0.006592/0.03628, allocations: 4.445 MB / 0.8098 GB, free: 4.73 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.850343458354473]