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.002036/0.002036, allocations: 84.73 kB / 19.44 MB, free: 352 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.002253/0.002253, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.501/1.501, allocations: 177.1 MB / 203.1 MB, free: 5.5 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.157/3.157, allocations: 429.6 MB / 0.673 GB, free: 3.879 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 1.934e-06/1.934e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.081e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005654/0.005685, allocations: 3.216 MB / 0.8807 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003776/0.009461, allocations: 1.966 MB / 0.8826 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.009621, allocations: 11.94 kB / 0.8827 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.01064, allocations: 292.4 kB / 0.8829 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005875/0.01123, allocations: 240.8 kB / 0.8832 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007603/0.01199, allocations: 290.3 kB / 0.8834 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005491/0.01254, allocations: 422.5 kB / 0.8838 GB, free: 96 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.0129, allocations: 176.2 kB / 0.884 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003711/0.01328, allocations: 223.4 kB / 0.8842 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003662/0.01364, allocations: 184.9 kB / 0.8844 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.9e-05/0.01369, allocations: 24 kB / 0.8844 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004377/0.01413, allocations: 252.9 kB / 0.8847 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.01429, allocations: 131.6 kB / 0.8848 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.01446, allocations: 99.8 kB / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006987/0.01515, allocations: 0.5101 MB / 0.8854 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.01516, allocations: 1.094 kB / 0.8854 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.213e-06/0.01516, allocations: 0 / 0.8854 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.01517, allocations: 0 / 0.8854 GB, free: 14.51 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.001204/0.01637, allocations: 0.5284 MB / 0.8859 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.01642, allocations: 8.031 kB / 0.8859 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.01751, allocations: 176.3 kB / 0.8861 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.01791, allocations: 223.2 kB / 0.8863 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.01793, allocations: 16.88 kB / 0.8863 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.01806, allocations: 36.69 kB / 0.8863 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008731/0.01894, allocations: 0.5225 MB / 0.8868 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.01895, allocations: 192 / 0.8868 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.019, allocations: 15.88 kB / 0.8869 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/0.01915, allocations: 48.41 kB / 0.8869 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007143/0.01987, allocations: 357.7 kB / 0.8873 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.02267, allocations: 1.586 MB / 0.8888 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/0.02316, allocations: 256.8 kB / 0.889 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.02342, allocations: 140.8 kB / 0.8892 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.02344, allocations: 4 kB / 0.8892 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.02349, allocations: 38.56 kB / 0.8892 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.02349, allocations: 0 / 0.8892 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.002075/0.02556, allocations: 0.925 MB / 0.8901 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.02562, allocations: 55.34 kB / 0.8902 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.02597, allocations: 243.8 kB / 0.8904 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.026, allocations: 29.7 kB / 0.8904 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.02616, allocations: 192.3 kB / 0.8906 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.82e-05/0.02626, allocations: 95.19 kB / 0.8907 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.02641, allocations: 73.64 kB / 0.8908 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.02659, allocations: 334.8 kB / 0.8911 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.02691, allocations: 159.9 kB / 0.8913 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.02731, allocations: 245.6 kB / 0.8915 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006685/0.02798, allocations: 398.9 kB / 0.8919 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.02798, allocations: 0 / 0.8919 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001414/0.0294, allocations: 0.6179 MB / 0.8925 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.02942, allocations: 8 kB / 0.8925 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.02942, allocations: 0 / 0.8925 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.03076, allocations: 248.7 kB / 0.8927 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.0311, allocations: 63.89 kB / 0.8928 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0035/0.0346, allocations: 2.354 MB / 0.8951 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.035, allocations: 20.02 kB / 0.8951 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.03504, allocations: 23.92 kB / 0.8951 GB, free: 4.094 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.0002215/0.03526, allocations: 165.8 kB / 0.8953 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.104e-05/0.03534, allocations: 27.86 kB / 0.8953 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006356/0.03598, allocations: 351.3 kB / 0.8956 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.03598, allocations: 4 kB / 0.8956 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.03598, allocations: 3.938 kB / 0.8956 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.03599, allocations: 0 / 0.8956 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.03717, allocations: 0.7066 MB / 0.8963 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.03718, allocations: 0 / 0.8963 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.0376, allocations: 71.95 kB / 0.8964 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.03761, allocations: 4 kB / 0.8964 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.03764, allocations: 11.92 kB / 0.8964 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.03764, allocations: 8 kB / 0.8964 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.03765, allocations: 0 / 0.8964 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/0.03856, allocations: 0.6245 MB / 0.897 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.03869, allocations: 59.8 kB / 0.8971 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.03874, allocations: 8 kB / 0.8971 GB, free: 1.984 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.03899, allocations: 11.98 kB / 0.8971 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.03903, allocations: 19.97 kB / 0.8971 GB, free: 1.953 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.03907, allocations: 4 kB / 0.8971 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000251/0.03932, allocations: 180.1 kB / 0.8973 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.03932, allocations: 3.938 kB / 0.8973 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004427/0.03976, allocations: 91.92 kB / 0.8974 GB, free: 1.68 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.0001795/0.03994, allocations: 107.2 kB / 0.8975 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.04099, allocations: 0.5181 MB / 0.898 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.041, allocations: 0 / 0.898 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.04124, allocations: 144.5 kB / 0.8981 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.04171, allocations: 58.47 kB / 0.8982 GB, free: 0.8398 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.04332, allocations: 0.7533 MB / 0.8989 GB, free: 48 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.04356, allocations: 181.8 kB / 0.8991 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002431/0.0438, allocations: 82.22 kB / 0.8992 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.453e-05/0.04389, allocations: 20.5 kB / 0.8992 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of SimCode: time 5.61e-07/0.04389, allocations: 0 / 0.8992 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of Templates: time 0.009336/0.05323, allocations: 4.192 MB / 0.9033 GB, free: 11.61 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 800] 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.308489257935435]