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.001383/0.001383, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.001527/0.001527, allocations: 165.3 kB / 23.55 MB, free: 0.8633 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 1.45/1.45, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.686/2.686, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",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.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.579e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005762/0.005798, allocations: 3.22 MB / 0.7895 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004403/0.0102, allocations: 1.977 MB / 0.7914 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000278/0.01048, allocations: 11.88 kB / 0.7915 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.01171, allocations: 294.2 kB / 0.7917 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007576/0.01247, allocations: 242.5 kB / 0.792 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008875/0.01336, allocations: 293.4 kB / 0.7922 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006649/0.01402, allocations: 418.6 kB / 0.7926 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004168/0.01444, allocations: 161.3 kB / 0.7928 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.01493, allocations: 231.4 kB / 0.793 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.01539, allocations: 188.5 kB / 0.7932 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.01545, allocations: 24 kB / 0.7932 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005231/0.01597, allocations: 252.7 kB / 0.7935 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.01615, allocations: 123.7 kB / 0.7936 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.01631, allocations: 103.8 kB / 0.7937 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008558/0.01716, allocations: 0.511 MB / 0.7942 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.01717, allocations: 0 / 0.7942 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.483e-06/0.01717, allocations: 0 / 0.7942 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.01718, allocations: 4.938 kB / 0.7942 GB, free: 4.832 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.001362/0.01855, allocations: 0.5177 MB / 0.7947 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.01859, allocations: 12.03 kB / 0.7947 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.01974, allocations: 162 kB / 0.7949 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.0202, allocations: 231.6 kB / 0.7951 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.02023, allocations: 21.66 kB / 0.7951 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.02037, allocations: 36.72 kB / 0.7951 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008959/0.02127, allocations: 0.5195 MB / 0.7956 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.02128, allocations: 4.125 kB / 0.7956 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.02133, allocations: 16.45 kB / 0.7957 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/0.02148, allocations: 37.84 kB / 0.7957 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007426/0.02222, allocations: 366.9 kB / 0.796 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.02495, allocations: 1.588 MB / 0.7976 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.02543, allocations: 243.4 kB / 0.7978 GB, free: 0.9297 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.02568, allocations: 148.8 kB / 0.798 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.02571, allocations: 5.219 kB / 0.798 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.02574, allocations: 34.5 kB / 0.798 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.02575, allocations: 0 / 0.798 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.002105/0.02785, allocations: 0.9107 MB / 0.7989 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.02791, allocations: 59.34 kB / 0.799 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.02828, allocations: 255.3 kB / 0.7992 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.02831, allocations: 29.7 kB / 0.7992 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.02847, allocations: 188.3 kB / 0.7994 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.218e-05/0.02856, allocations: 87.19 kB / 0.7995 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.02871, allocations: 81.58 kB / 0.7996 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.02891, allocations: 330.8 kB / 0.7999 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.02922, allocations: 159.9 kB / 0.8 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.02961, allocations: 243.2 kB / 0.8003 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000669/0.03028, allocations: 410.4 kB / 0.8007 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.03029, allocations: 0.6562 kB / 0.8007 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001419/0.0317, allocations: 0.6105 MB / 0.8013 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.03173, allocations: 7.984 kB / 0.8013 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.03174, allocations: 4 kB / 0.8013 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.0331, allocations: 248.2 kB / 0.8015 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.03343, allocations: 68.2 kB / 0.8016 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003438/0.03687, allocations: 2.35 MB / 0.8039 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.03726, allocations: 28.08 kB / 0.8039 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.03729, allocations: 15.94 kB / 0.8039 GB, free: 10.46 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.0002042/0.0375, allocations: 165.7 kB / 0.8041 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.03758, allocations: 31.86 kB / 0.8041 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006292/0.03821, allocations: 352.9 kB / 0.8044 GB, free: 9.906 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.03821, allocations: 0 / 0.8044 GB, free: 9.906 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.03821, allocations: 8 kB / 0.8044 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.03822, allocations: 4 kB / 0.8044 GB, free: 9.895 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.03941, allocations: 0.7065 MB / 0.8051 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.03942, allocations: 0 / 0.8051 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.03984, allocations: 75.94 kB / 0.8052 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.03985, allocations: 0 / 0.8052 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.03988, allocations: 11.94 kB / 0.8052 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.936e-06/0.03989, allocations: 7.938 kB / 0.8052 GB, free: 9.051 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.03989, allocations: 3.984 kB / 0.8052 GB, free: 9.047 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009587/0.04085, allocations: 0.6165 MB / 0.8058 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.04098, allocations: 47.81 kB / 0.8059 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.04103, allocations: 11.98 kB / 0.8059 GB, free: 8.352 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.04127, allocations: 15.98 kB / 0.8059 GB, free: 8.336 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.04132, allocations: 19.91 kB / 0.8059 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.04134, allocations: 8 kB / 0.8059 GB, free: 8.309 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002382/0.04158, allocations: 172.1 kB / 0.8061 GB, free: 8.141 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.04158, allocations: 0 / 0.8061 GB, free: 8.141 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004539/0.04203, allocations: 92 kB / 0.8062 GB, free: 8.051 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.0002066/0.04224, allocations: 115.2 kB / 0.8063 GB, free: 7.926 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.04332, allocations: 0.5102 MB / 0.8068 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.04332, allocations: 128 / 0.8068 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.04355, allocations: 140.4 kB / 0.8069 GB, free: 7.266 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.04404, allocations: 59.78 kB / 0.807 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.04563, allocations: 0.7603 MB / 0.8077 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.04586, allocations: 181.8 kB / 0.8079 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002365/0.0461, allocations: 74.22 kB / 0.808 GB, free: 6.141 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.819e-05/0.04619, allocations: 28.48 kB / 0.808 GB, free: 6.113 MB / 0.7605 GB Notification: Performance of SimCode: time 5.41e-07/0.04619, allocations: 4 kB / 0.808 GB, free: 6.109 MB / 0.7605 GB Notification: Performance of Templates: time 0.009593/0.05579, allocations: 4.186 MB / 0.8121 GB, free: 1.984 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.893026019912213]