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.001328/0.001328, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001471/0.001471, allocations: 169 kB / 24.06 MB, free: 456 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.9467/0.9467, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.054/2.054, allocations: 429.5 MB / 0.6743 GB, free: 3.891 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.873e-06/1.873e-06, allocations: 3.938 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.093e-05, allocations: 8.078 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004424/0.004455, allocations: 2.672 MB / 0.882 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002554/0.007009, allocations: 1.448 MB / 0.8834 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.007179, allocations: 9.062 kB / 0.8834 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.007689, allocations: 107.4 kB / 0.8835 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004455/0.008134, allocations: 196.6 kB / 0.8837 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005965/0.008731, allocations: 262.6 kB / 0.884 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.009231, allocations: 426.6 kB / 0.8844 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003889/0.00962, allocations: 168.8 kB / 0.8845 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004435/0.01006, allocations: 228.2 kB / 0.8847 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.01048, allocations: 188.2 kB / 0.8849 GB, free: 352 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.181e-05/0.01054, allocations: 25.09 kB / 0.885 GB, free: 328 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.01082, allocations: 175.6 kB / 0.8851 GB, free: 152 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.919e-05/0.01092, allocations: 123.6 kB / 0.8852 GB, free: 28 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.318e-05/0.01101, allocations: 108.4 kB / 0.8853 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.01136, allocations: 354.8 kB / 0.8857 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01137, allocations: 1.281 kB / 0.8857 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.332e-06/0.01137, allocations: 3.938 kB / 0.8857 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.01138, allocations: 0 / 0.8857 GB, free: 15.57 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.0007081/0.01208, allocations: 0.6239 MB / 0.8863 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.01212, allocations: 8.031 kB / 0.8863 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005693/0.01269, allocations: 144.4 kB / 0.8864 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.01293, allocations: 223.3 kB / 0.8867 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.01295, allocations: 16.88 kB / 0.8867 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-05/0.01303, allocations: 33.98 kB / 0.8867 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.01339, allocations: 401.2 kB / 0.8871 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.0134, allocations: 4.188 kB / 0.8871 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.01343, allocations: 19.92 kB / 0.8871 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-05/0.01351, allocations: 40.47 kB / 0.8871 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.01368, allocations: 123.2 kB / 0.8873 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.01496, allocations: 1.768 MB / 0.889 GB, free: 12 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.01514, allocations: 142.8 kB / 0.8891 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.01521, allocations: 51.67 kB / 0.8892 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.01522, allocations: 4 kB / 0.8892 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.01524, allocations: 37.38 kB / 0.8892 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 1.754e-06/0.01525, allocations: 0 / 0.8892 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0007669/0.01601, allocations: 496.6 kB / 0.8897 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.01604, allocations: 55.41 kB / 0.8897 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.01621, allocations: 286.2 kB / 0.89 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.01623, allocations: 29.7 kB / 0.89 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.565e-05/0.01633, allocations: 243 kB / 0.8903 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.01638, allocations: 99.2 kB / 0.8904 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.709e-05/0.01647, allocations: 79.31 kB / 0.8904 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.01659, allocations: 0.5079 MB / 0.8909 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.01666, allocations: 51.89 kB / 0.891 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.01678, allocations: 168.7 kB / 0.8911 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.01698, allocations: 235.1 kB / 0.8914 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.01698, allocations: 4 kB / 0.8914 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004949/0.01748, allocations: 358.7 kB / 0.8917 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.01749, allocations: 4 kB / 0.8917 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.0175, allocations: 4 kB / 0.8917 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005313/0.01803, allocations: 183.5 kB / 0.8919 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.01818, allocations: 63.89 kB / 0.892 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.01961, allocations: 2.127 MB / 0.894 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.01976, allocations: 15.94 kB / 0.8941 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.01978, allocations: 20.02 kB / 0.8941 GB, free: 6.441 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.0001021/0.01988, allocations: 168.5 kB / 0.8942 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.01993, allocations: 35.8 kB / 0.8943 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.02014, allocations: 184.6 kB / 0.8944 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.02015, allocations: 4 kB / 0.8944 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.02015, allocations: 0 / 0.8944 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.02015, allocations: 3.984 kB / 0.8945 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.02064, allocations: 0.5134 MB / 0.895 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.02064, allocations: 8.062 kB / 0.895 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.02084, allocations: 67.89 kB / 0.895 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.02084, allocations: 4 kB / 0.895 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.02086, allocations: 4 kB / 0.895 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.02086, allocations: 4 kB / 0.895 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.02086, allocations: 4 kB / 0.895 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.02118, allocations: 398.6 kB / 0.8954 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.02124, allocations: 43.88 kB / 0.8955 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.02127, allocations: 15.97 kB / 0.8955 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-05/0.02137, allocations: 4 kB / 0.8955 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.0214, allocations: 23.91 kB / 0.8955 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.02141, allocations: 7.938 kB / 0.8955 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.035e-05/0.0215, allocations: 188 kB / 0.8957 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.0215, allocations: 0 / 0.8957 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000277/0.02177, allocations: 88 kB / 0.8958 GB, free: 4.617 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.000133/0.02191, allocations: 107.2 kB / 0.8959 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.02235, allocations: 419.5 kB / 0.8963 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02236, allocations: 0 / 0.8963 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/0.02243, allocations: 77.33 kB / 0.8964 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.02272, allocations: 57.44 kB / 0.8964 GB, free: 3.941 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.02373, allocations: 0.6931 MB / 0.8971 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.868e-05/0.0238, allocations: 112.3 kB / 0.8972 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.0239, allocations: 42.25 kB / 0.8972 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.02403, allocations: 114.2 kB / 0.8973 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of SimCode: time 8.21e-07/0.02403, allocations: 4 kB / 0.8973 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of Templates: time 0.006021/0.03005, allocations: 4.548 MB / 0.9018 GB, free: 14.42 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.409141220152378]