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.001382/0.001382, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00154/0.00154, allocations: 169 kB / 23.27 MB, free: 1.223 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.9369/0.9369, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.342/2.342, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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 2.304e-06/2.304e-06, allocations: 0 / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/2.062e-05, allocations: 5.547 kB / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.002915/0.002935, allocations: 2.666 MB / 0.8923 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.004757, allocations: 1.445 MB / 0.8938 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.004872, allocations: 7.938 kB / 0.8938 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.005322, allocations: 103.4 kB / 0.8939 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.005607, allocations: 202.9 kB / 0.8941 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.005944, allocations: 259.2 kB / 0.8943 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.006263, allocations: 434.5 kB / 0.8947 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.006557, allocations: 168.2 kB / 0.8949 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.006793, allocations: 227.5 kB / 0.8951 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.007034, allocations: 183.5 kB / 0.8953 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.007067, allocations: 24 kB / 0.8953 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.007257, allocations: 171.6 kB / 0.8955 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.755e-05/0.007354, allocations: 131.6 kB / 0.8956 GB, free: 3.75 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.499e-05/0.007429, allocations: 111.7 kB / 0.8957 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.007752, allocations: 350.8 kB / 0.896 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.007753, allocations: 4 kB / 0.896 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.42e-07/0.007754, allocations: 0 / 0.896 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.007759, allocations: 0 / 0.896 GB, free: 3.293 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.0007398/0.008499, allocations: 0.6124 MB / 0.8966 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.00853, allocations: 12.03 kB / 0.8966 GB, free: 2.633 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005223/0.009052, allocations: 156.4 kB / 0.8968 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.009268, allocations: 221.5 kB / 0.897 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.009286, allocations: 16.88 kB / 0.897 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.878e-05/0.009365, allocations: 40.72 kB / 0.8971 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.009713, allocations: 397.2 kB / 0.8974 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.009724, allocations: 8.125 kB / 0.8974 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.009748, allocations: 15.94 kB / 0.8975 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.569e-05/0.009823, allocations: 44.41 kB / 0.8975 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.009984, allocations: 115.3 kB / 0.8976 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.01118, allocations: 1.775 MB / 0.8993 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.01134, allocations: 134.9 kB / 0.8995 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/0.0114, allocations: 55.66 kB / 0.8995 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.01142, allocations: 4 kB / 0.8995 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.01144, allocations: 37.39 kB / 0.8996 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.01144, allocations: 4 kB / 0.8996 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.0009729/0.01241, allocations: 490 kB / 0.9 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.01243, allocations: 55.41 kB / 0.9001 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.0126, allocations: 282.3 kB / 0.9004 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.01262, allocations: 29.7 kB / 0.9004 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/0.01271, allocations: 246.9 kB / 0.9006 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.01276, allocations: 99.19 kB / 0.9007 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.01285, allocations: 83.27 kB / 0.9008 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.01296, allocations: 0.504 MB / 0.9013 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.01303, allocations: 47.95 kB / 0.9013 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.01314, allocations: 170.1 kB / 0.9015 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.01333, allocations: 239.1 kB / 0.9017 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01333, allocations: 4 kB / 0.9017 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004588/0.01379, allocations: 358.7 kB / 0.9021 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.0138, allocations: 8 kB / 0.9021 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01381, allocations: 0 / 0.9021 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005089/0.01432, allocations: 179.5 kB / 0.9022 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.01446, allocations: 59.91 kB / 0.9023 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.01576, allocations: 2.133 MB / 0.9044 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.01591, allocations: 23.88 kB / 0.9044 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.01593, allocations: 20.02 kB / 0.9044 GB, free: 10.14 MB / 0.8698 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.6e-05/0.01602, allocations: 176.5 kB / 0.9046 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.01606, allocations: 27.86 kB / 0.9046 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.01625, allocations: 183.4 kB / 0.9048 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.01626, allocations: 4 kB / 0.9048 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.01626, allocations: 0 / 0.9048 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01626, allocations: 0 / 0.9048 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.0167, allocations: 0.5186 MB / 0.9053 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.0167, allocations: 4.062 kB / 0.9053 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.01689, allocations: 75.88 kB / 0.9054 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01689, allocations: 0 / 0.9054 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.01691, allocations: 8 kB / 0.9054 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01691, allocations: 0 / 0.9054 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01691, allocations: 0 / 0.9054 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.01718, allocations: 389.8 kB / 0.9058 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.01724, allocations: 47.81 kB / 0.9058 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.01726, allocations: 11.98 kB / 0.9058 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.315e-05/0.01735, allocations: 8 kB / 0.9058 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.01738, allocations: 19.91 kB / 0.9058 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.01739, allocations: 4 kB / 0.9059 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.31e-05/0.01747, allocations: 191.9 kB / 0.906 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.01747, allocations: 0 / 0.906 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002456/0.01772, allocations: 88 kB / 0.9061 GB, free: 8.332 MB / 0.8698 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.0001148/0.01783, allocations: 107.2 kB / 0.9062 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004048/0.01824, allocations: 413 kB / 0.9066 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01824, allocations: 0 / 0.9066 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.259e-05/0.01831, allocations: 83.44 kB / 0.9067 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.01858, allocations: 55.72 kB / 0.9067 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.0198, allocations: 0.7048 MB / 0.9074 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.732e-05/0.01987, allocations: 108.3 kB / 0.9075 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.345e-05/0.01996, allocations: 38.27 kB / 0.9076 GB, free: 6.746 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.02009, allocations: 114.2 kB / 0.9077 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of SimCode: time 4.71e-07/0.02009, allocations: 0 / 0.9077 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of Templates: time 0.005725/0.02582, allocations: 4.452 MB / 0.912 GB, free: 2.227 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.368540002964437]