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.001329/0.001329, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001141/0.001141, allocations: 173 kB / 23.02 MB, free: 1.551 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.9062/0.9062, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.015/2.015, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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 2.274e-06/2.274e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.149e-05, allocations: 4 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003176/0.003197, allocations: 2.696 MB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.005311, allocations: 1.467 MB / 0.8822 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.005448, allocations: 7.938 kB / 0.8822 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004929/0.005941, allocations: 100.4 kB / 0.8823 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.006292, allocations: 196 kB / 0.8825 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.006755, allocations: 270.2 kB / 0.8828 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.00714, allocations: 418.6 kB / 0.8832 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/0.007448, allocations: 165 kB / 0.8833 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.007728, allocations: 221.2 kB / 0.8835 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.007996, allocations: 195.5 kB / 0.8837 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.008033, allocations: 24 kB / 0.8838 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.008266, allocations: 176.1 kB / 0.8839 GB, free: 436 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.00837, allocations: 131.6 kB / 0.884 GB, free: 304 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.602e-05/0.008456, allocations: 97.66 kB / 0.8841 GB, free: 208 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.008839, allocations: 362.9 kB / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.008842, allocations: 0 / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.21e-07/0.008842, allocations: 0 / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.008847, allocations: 0 / 0.8845 GB, free: 15.84 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.0007167/0.009564, allocations: 0.6182 MB / 0.8851 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.009603, allocations: 13.62 kB / 0.8851 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.01019, allocations: 159.1 kB / 0.8853 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.01044, allocations: 229.9 kB / 0.8855 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.01045, allocations: 16.88 kB / 0.8855 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.281e-05/0.01054, allocations: 40.72 kB / 0.8855 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/0.01095, allocations: 415.2 kB / 0.8859 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.01096, allocations: 8.125 kB / 0.8859 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.01099, allocations: 23.91 kB / 0.886 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.111e-05/0.01107, allocations: 36.47 kB / 0.886 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.01129, allocations: 158.8 kB / 0.8861 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.01263, allocations: 1.837 MB / 0.8879 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.01284, allocations: 153.1 kB / 0.8881 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.01293, allocations: 63.66 kB / 0.8881 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.01294, allocations: 4 kB / 0.8881 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.01296, allocations: 41.39 kB / 0.8882 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.01297, allocations: 0 / 0.8882 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0009643/0.01393, allocations: 0.5575 MB / 0.8887 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.01396, allocations: 59.34 kB / 0.8888 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.01413, allocations: 282.4 kB / 0.8891 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.01415, allocations: 33.7 kB / 0.8891 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/0.01425, allocations: 243 kB / 0.8893 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.0143, allocations: 91.22 kB / 0.8894 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.87e-05/0.01439, allocations: 91.22 kB / 0.8895 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.01451, allocations: 0.4962 MB / 0.89 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/0.01461, allocations: 67.95 kB / 0.89 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.01475, allocations: 180.7 kB / 0.8902 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.01499, allocations: 266 kB / 0.8905 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01499, allocations: 0 / 0.8905 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000546/0.01554, allocations: 387.3 kB / 0.8908 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.01555, allocations: 12 kB / 0.8909 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.01556, allocations: 4 kB / 0.8909 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005752/0.01613, allocations: 183.5 kB / 0.891 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.01631, allocations: 59.89 kB / 0.8911 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.01777, allocations: 2.193 MB / 0.8932 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.01792, allocations: 20.09 kB / 0.8932 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.01794, allocations: 23.92 kB / 0.8933 GB, free: 6.297 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 9.74e-05/0.01804, allocations: 172.5 kB / 0.8934 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.01808, allocations: 31.89 kB / 0.8935 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.01832, allocations: 203.4 kB / 0.8937 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01833, allocations: 4 kB / 0.8937 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01833, allocations: 3.938 kB / 0.8937 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01833, allocations: 3.984 kB / 0.8937 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.01884, allocations: 0.5785 MB / 0.8942 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.01884, allocations: 4 kB / 0.8942 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.01904, allocations: 71.94 kB / 0.8943 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.01904, allocations: 4 kB / 0.8943 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.01906, allocations: 15.98 kB / 0.8943 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.01906, allocations: 4 kB / 0.8943 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.01906, allocations: 7.938 kB / 0.8943 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.01939, allocations: 412.4 kB / 0.8947 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.01945, allocations: 47.77 kB / 0.8948 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.01948, allocations: 8 kB / 0.8948 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.01958, allocations: 11.98 kB / 0.8948 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.01961, allocations: 19.97 kB / 0.8948 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.01962, allocations: 4 kB / 0.8948 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000108/0.01973, allocations: 200 kB / 0.895 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01973, allocations: 3.938 kB / 0.895 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002552/0.01999, allocations: 92 kB / 0.8951 GB, free: 4.328 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.0001096/0.0201, allocations: 103.2 kB / 0.8952 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000581/0.02068, allocations: 447.2 kB / 0.8956 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.02068, allocations: 0 / 0.8956 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.317e-05/0.02076, allocations: 75.59 kB / 0.8957 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.02103, allocations: 55.7 kB / 0.8958 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.02209, allocations: 0.7129 MB / 0.8964 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.946e-05/0.02217, allocations: 112.3 kB / 0.8966 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.02229, allocations: 62.22 kB / 0.8966 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.02235, allocations: 20.5 kB / 0.8966 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.02235, allocations: 0 / 0.8966 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of Templates: time 0.005777/0.02813, allocations: 4.382 MB / 0.9009 GB, free: 14.34 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.1031497390940785]