Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001394/0.001394, allocations: 92.7 kB / 19.44 MB, free: 320 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.002662/0.002662, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.503/1.503, allocations: 177.1 MB / 203.1 MB, free: 5.582 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.259/3.259, allocations: 429.6 MB / 0.673 GB, free: 3.871 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.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.885e-05, allocations: 4.984 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007031/0.00706, allocations: 4.099 MB / 0.8816 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004558/0.01162, allocations: 2.292 MB / 0.8838 GB, free: 80 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000421/0.01204, allocations: 29.28 kB / 0.8839 GB, free: 52 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.01351, allocations: 371.3 kB / 0.8842 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.01472, allocations: 402.2 kB / 0.8846 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009895/0.01571, allocations: 319 kB / 0.8849 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.017, allocations: 0.71 MB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004841/0.01748, allocations: 222.1 kB / 0.8858 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000769/0.01825, allocations: 371 kB / 0.8862 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005567/0.01881, allocations: 239.2 kB / 0.8864 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.501e-05/0.01889, allocations: 28 kB / 0.8864 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000842/0.01973, allocations: 390.9 kB / 0.8868 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.01998, allocations: 151.5 kB / 0.8869 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.02027, allocations: 163.6 kB / 0.8871 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.02154, allocations: 0.7514 MB / 0.8878 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.02154, allocations: 0 / 0.8878 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.362e-06/0.02154, allocations: 0 / 0.8878 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.02156, allocations: 0 / 0.8878 GB, free: 11.98 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001512/0.02307, allocations: 0.7265 MB / 0.8885 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.02311, allocations: 12.03 kB / 0.8885 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.02473, allocations: 272 kB / 0.8888 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007939/0.02552, allocations: 400.8 kB / 0.8892 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.02555, allocations: 21.38 kB / 0.8892 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.708e-05/0.02564, allocations: 36.36 kB / 0.8892 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.02688, allocations: 0.7265 MB / 0.8899 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.02691, allocations: 8.125 kB / 0.89 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.794e-05/0.02696, allocations: 12.38 kB / 0.89 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.02707, allocations: 63.89 kB / 0.89 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009048/0.02797, allocations: 496.4 kB / 0.8905 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003972/0.03195, allocations: 3.137 MB / 0.8936 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.03383, allocations: 0.6054 MB / 0.8942 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.03411, allocations: 162.4 kB / 0.8943 GB, free: 5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.03414, allocations: 12 kB / 0.8943 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.03418, allocations: 38.5 kB / 0.8944 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 1.654e-06/0.03418, allocations: 4 kB / 0.8944 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.00258/0.03676, allocations: 1.071 MB / 0.8954 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/0.03686, allocations: 114.7 kB / 0.8955 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.03735, allocations: 385.4 kB / 0.8959 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.03739, allocations: 33.7 kB / 0.8959 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.03766, allocations: 288 kB / 0.8962 GB, free: 3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.0378, allocations: 126.9 kB / 0.8963 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.03796, allocations: 94.3 kB / 0.8964 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002092/0.03817, allocations: 350.8 kB / 0.8967 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.03848, allocations: 177.2 kB / 0.8969 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.039, allocations: 380.1 kB / 0.8973 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008836/0.03989, allocations: 0.5794 MB / 0.8978 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.03989, allocations: 0 / 0.8978 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001317/0.04121, allocations: 0.7146 MB / 0.8985 GB, free: 396 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.04123, allocations: 8 kB / 0.8985 GB, free: 388 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.04125, allocations: 12 kB / 0.8986 GB, free: 376 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004522/0.0417, allocations: 98.5 kB / 0.8986 GB, free: 268 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.04212, allocations: 111.8 kB / 0.8988 GB, free: 156 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004343/0.04647, allocations: 3.974 MB / 0.9026 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.04681, allocations: 27.97 kB / 0.9027 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.04686, allocations: 24 kB / 0.9027 GB, free: 11.82 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002697/0.04713, allocations: 193.6 kB / 0.9029 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.04727, allocations: 55.72 kB / 0.9029 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.04832, allocations: 0.5264 MB / 0.9034 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.04833, allocations: 4 kB / 0.9034 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.04833, allocations: 0 / 0.9034 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.04835, allocations: 8 kB / 0.9034 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.05038, allocations: 1.148 MB / 0.9046 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.05038, allocations: 7.938 kB / 0.9046 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.05066, allocations: 64.17 kB / 0.9046 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003244/0.05099, allocations: 94.5 kB / 0.9047 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.05102, allocations: 8 kB / 0.9047 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004403/0.05542, allocations: 3.962 MB / 0.9086 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.05542, allocations: 4 kB / 0.9086 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.05662, allocations: 0.7946 MB / 0.9094 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.0568, allocations: 71.69 kB / 0.9095 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.05686, allocations: 11.95 kB / 0.9095 GB, free: 4.398 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.05718, allocations: 23.97 kB / 0.9095 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/0.05726, allocations: 43.81 kB / 0.9095 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.05729, allocations: 15.98 kB / 0.9095 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003357/0.05763, allocations: 259.2 kB / 0.9098 GB, free: 4.066 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.05763, allocations: 4.094 kB / 0.9098 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007271/0.05835, allocations: 124 kB / 0.9099 GB, free: 3.941 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001771/0.05853, allocations: 111.1 kB / 0.91 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001525/0.06005, allocations: 0.7894 MB / 0.9108 GB, free: 3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.06006, allocations: 0 / 0.9108 GB, free: 3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008913/0.06095, allocations: 0.5362 MB / 0.9113 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009524/0.0619, allocations: 127.7 kB / 0.9114 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.06368, allocations: 0.9167 MB / 0.9123 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.06402, allocations: 256.3 kB / 0.9126 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005656/0.06459, allocations: 100.3 kB / 0.9127 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.0647, allocations: 36.5 kB / 0.9127 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of SimCode: time 5.41e-07/0.0647, allocations: 4 kB / 0.9127 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of Templates: time 0.0132/0.0779, allocations: 5.896 MB / 0.9185 GB, free: 11.14 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.36783581203781]