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.001878/0.001878, allocations: 85.48 kB / 19.44 MB, free: 348 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.002013/0.002013, allocations: 177.2 kB / 22.76 MB, free: 1.664 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.355/3.355, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",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.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.8774 GB, free: 5.52 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.087e-05, allocations: 2.312 kB / 0.8774 GB, free: 5.516 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005946/0.005977, allocations: 3.314 MB / 0.8807 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004087/0.01006, allocations: 2.044 MB / 0.8827 GB, free: 176 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.01024, allocations: 7.938 kB / 0.8827 GB, free: 168 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.01132, allocations: 299.9 kB / 0.883 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006561/0.01198, allocations: 241.2 kB / 0.8832 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000758/0.01274, allocations: 291.6 kB / 0.8835 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005772/0.01331, allocations: 422.6 kB / 0.8839 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003672/0.01368, allocations: 160.2 kB / 0.884 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004122/0.01409, allocations: 231.4 kB / 0.8843 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004084/0.0145, allocations: 187.5 kB / 0.8844 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.55e-05/0.01456, allocations: 24 kB / 0.8845 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000486/0.01504, allocations: 252 kB / 0.8847 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.01522, allocations: 131.7 kB / 0.8848 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.01537, allocations: 105.4 kB / 0.8849 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0009185/0.01629, allocations: 0.5063 MB / 0.8854 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01629, allocations: 0 / 0.8854 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.683e-06/0.01629, allocations: 3.938 kB / 0.8854 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.0163, allocations: 3.938 kB / 0.8854 GB, free: 13.36 MB / 0.8073 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.001206/0.0175, allocations: 0.6488 MB / 0.8861 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.01754, allocations: 8.031 kB / 0.8861 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.01857, allocations: 152.5 kB / 0.8862 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.01901, allocations: 233.4 kB / 0.8864 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.01903, allocations: 16.88 kB / 0.8864 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.01915, allocations: 40.69 kB / 0.8865 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007241/0.01988, allocations: 432.6 kB / 0.8869 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.0199, allocations: 192 / 0.8869 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.01994, allocations: 19.92 kB / 0.8869 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001522/0.02009, allocations: 40.47 kB / 0.887 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004819/0.02057, allocations: 201.8 kB / 0.8872 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002782/0.02335, allocations: 1.896 MB / 0.889 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.02374, allocations: 156.8 kB / 0.8892 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.02388, allocations: 67.66 kB / 0.8892 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.02391, allocations: 4 kB / 0.8892 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.02395, allocations: 41.39 kB / 0.8893 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.02395, allocations: 4 kB / 0.8893 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.001536/0.02549, allocations: 0.571 MB / 0.8898 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.02553, allocations: 55.34 kB / 0.8899 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.02594, allocations: 322.4 kB / 0.8902 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.02597, allocations: 33.64 kB / 0.8902 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.02616, allocations: 251 kB / 0.8905 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.872e-05/0.02626, allocations: 95.22 kB / 0.8905 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.02643, allocations: 91.3 kB / 0.8906 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002973/0.02672, allocations: 0.5118 MB / 0.8911 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.02693, allocations: 83.89 kB / 0.8912 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.02726, allocations: 200.7 kB / 0.8914 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.02779, allocations: 298.1 kB / 0.8917 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.02779, allocations: 4 kB / 0.8917 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001248/0.02904, allocations: 431.6 kB / 0.8921 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.02906, allocations: 4 kB / 0.8921 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.02907, allocations: 4 kB / 0.8921 GB, free: 6.086 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.03029, allocations: 191.8 kB / 0.8923 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.03063, allocations: 63.89 kB / 0.8924 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/0.03363, allocations: 2.264 MB / 0.8946 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.03399, allocations: 15.98 kB / 0.8946 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.03403, allocations: 16 kB / 0.8946 GB, free: 3.406 MB / 0.8073 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.0001972/0.03423, allocations: 176.5 kB / 0.8948 GB, free: 3.223 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.03431, allocations: 35.8 kB / 0.8948 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/0.03479, allocations: 220.2 kB / 0.895 GB, free: 2.969 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.0348, allocations: 0 / 0.895 GB, free: 2.969 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.0348, allocations: 3.938 kB / 0.895 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.03481, allocations: 8.016 kB / 0.895 GB, free: 2.957 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.03589, allocations: 0.6195 MB / 0.8956 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.03589, allocations: 0 / 0.8956 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.03632, allocations: 75.88 kB / 0.8957 GB, free: 2.215 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.03632, allocations: 0 / 0.8957 GB, free: 2.215 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/0.03636, allocations: 11.94 kB / 0.8957 GB, free: 2.203 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.03636, allocations: 0 / 0.8957 GB, free: 2.203 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.03637, allocations: 0 / 0.8957 GB, free: 2.203 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.03704, allocations: 442.4 kB / 0.8961 GB, free: 1.746 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.0372, allocations: 59.81 kB / 0.8962 GB, free: 1.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.03724, allocations: 8 kB / 0.8962 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.03748, allocations: 11.98 kB / 0.8962 GB, free: 1.668 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.03753, allocations: 19.97 kB / 0.8962 GB, free: 1.648 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.03755, allocations: 4 kB / 0.8962 GB, free: 1.645 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002567/0.0378, allocations: 224 kB / 0.8964 GB, free: 1.426 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.0378, allocations: 0 / 0.8964 GB, free: 1.426 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004285/0.03823, allocations: 87.94 kB / 0.8965 GB, free: 1.34 MB / 0.8073 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.0002034/0.03844, allocations: 111.2 kB / 0.8966 GB, free: 1.223 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000949/0.03939, allocations: 475.2 kB / 0.8971 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.03939, allocations: 0.625 kB / 0.8971 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.03955, allocations: 93.84 kB / 0.8972 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.04003, allocations: 66.86 kB / 0.8972 GB, free: 0.582 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.04151, allocations: 0.7009 MB / 0.8979 GB, free: 15.84 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.04173, allocations: 177.8 kB / 0.8981 GB, free: 15.65 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002015/0.04193, allocations: 62.22 kB / 0.8982 GB, free: 15.59 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.014e-05/0.04202, allocations: 24.48 kB / 0.8982 GB, free: 15.57 MB / 0.823 GB Notification: Performance of SimCode: time 5.42e-07/0.04202, allocations: 0 / 0.8982 GB, free: 15.57 MB / 0.823 GB Notification: Performance of Templates: time 0.01001/0.05204, allocations: 4.229 MB / 0.9023 GB, free: 11.39 MB / 0.823 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.601293371059]