Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009279/0.0009279, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008564/0.0008564, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.927/0.927, allocations: 177.2 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.755/1.755, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.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_12_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_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.649e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004396/0.004422, allocations: 4.089 MB / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002224/0.006646, allocations: 2.303 MB / 0.9884 GB, free: 11.67 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.006803, allocations: 23.75 kB / 0.9885 GB, free: 11.64 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006729/0.007476, allocations: 378.1 kB / 0.9888 GB, free: 11.27 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000487/0.007963, allocations: 389.7 kB / 0.9892 GB, free: 10.89 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.008326, allocations: 329.6 kB / 0.9895 GB, free: 10.57 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.008803, allocations: 0.7061 MB / 0.9902 GB, free: 9.863 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/0.009105, allocations: 226 kB / 0.9904 GB, free: 9.637 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003799/0.009485, allocations: 367 kB / 0.9908 GB, free: 9.277 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.009731, allocations: 235.3 kB / 0.991 GB, free: 9.047 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.009765, allocations: 36 kB / 0.991 GB, free: 9.012 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.0101, allocations: 390.8 kB / 0.9914 GB, free: 8.629 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.01023, allocations: 155.4 kB / 0.9915 GB, free: 8.477 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.01034, allocations: 151.6 kB / 0.9917 GB, free: 8.328 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005783/0.01091, allocations: 0.767 MB / 0.9924 GB, free: 7.559 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01092, allocations: 0 / 0.9924 GB, free: 7.559 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.263e-06/0.01092, allocations: 0 / 0.9924 GB, free: 7.559 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.01093, allocations: 0 / 0.9924 GB, free: 7.559 MB / 0.948 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.0007561/0.01168, allocations: 0.7265 MB / 0.9931 GB, free: 6.801 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.01172, allocations: 8.031 kB / 0.9932 GB, free: 6.793 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006802/0.0124, allocations: 184.4 kB / 0.9933 GB, free: 6.613 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.0128, allocations: 380.7 kB / 0.9937 GB, free: 6.215 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.01283, allocations: 29.36 kB / 0.9937 GB, free: 6.184 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.01287, allocations: 36.36 kB / 0.9938 GB, free: 6.148 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.01354, allocations: 0.7188 MB / 0.9945 GB, free: 5.324 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.01356, allocations: 12.08 kB / 0.9945 GB, free: 5.312 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.01358, allocations: 16.36 kB / 0.9945 GB, free: 5.297 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-05/0.01363, allocations: 63.84 kB / 0.9945 GB, free: 5.234 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004552/0.01409, allocations: 495.3 kB / 0.995 GB, free: 4.75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.01581, allocations: 3.118 MB / 0.9981 GB, free: 1.504 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008995/0.01671, allocations: 0.6164 MB / 0.9987 GB, free: 0.8594 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.01686, allocations: 162.5 kB / 0.9988 GB, free: 0.6914 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.01688, allocations: 4 kB / 0.9988 GB, free: 0.6875 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.0169, allocations: 42.5 kB / 0.9989 GB, free: 0.6367 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 1.923e-06/0.01691, allocations: 0 / 0.9989 GB, free: 0.6367 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001295/0.0182, allocations: 1.068 MB / 0.9999 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.01825, allocations: 110.8 kB / 1 GB, free: 15.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.0185, allocations: 381.4 kB / 1 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.01852, allocations: 33.7 kB / 1 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.01864, allocations: 284.1 kB / 1.001 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.0187, allocations: 118.9 kB / 1.001 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.01879, allocations: 102.2 kB / 1.001 GB, free: 14.49 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.01898, allocations: 354.8 kB / 1.001 GB, free: 14.13 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.01914, allocations: 177.1 kB / 1.001 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.0194, allocations: 376.2 kB / 1.002 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.01985, allocations: 0.599 MB / 1.002 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01985, allocations: 0 / 1.002 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006341/0.02049, allocations: 0.6711 MB / 1.003 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.02051, allocations: 8 kB / 1.003 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.02052, allocations: 8 kB / 1.003 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.02073, allocations: 95.03 kB / 1.003 GB, free: 12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.02093, allocations: 111.8 kB / 1.003 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.02287, allocations: 3.958 MB / 1.007 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.02303, allocations: 31.97 kB / 1.007 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.02305, allocations: 24 kB / 1.007 GB, free: 7.574 MB / 0.9636 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.0001448/0.02319, allocations: 197.7 kB / 1.007 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.02325, allocations: 51.72 kB / 1.007 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007691/0.02402, allocations: 0.5189 MB / 1.008 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.02402, allocations: 4 kB / 1.008 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.02403, allocations: 3.938 kB / 1.008 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.02403, allocations: 3.984 kB / 1.008 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.02513, allocations: 1.152 MB / 1.009 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.02514, allocations: 12.02 kB / 1.009 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.02525, allocations: 55.91 kB / 1.009 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000143/0.02539, allocations: 94.44 kB / 1.009 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.02541, allocations: 12 kB / 1.009 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.02714, allocations: 3.954 MB / 1.013 GB, free: 1.105 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.02715, allocations: 12 kB / 1.013 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.02769, allocations: 0.7628 MB / 1.014 GB, free: 280 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.985e-05/0.02778, allocations: 71.69 kB / 1.014 GB, free: 208 kB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.0278, allocations: 19.92 kB / 1.014 GB, free: 188 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.02795, allocations: 15.98 kB / 1.014 GB, free: 172 kB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.028, allocations: 43.81 kB / 1.014 GB, free: 128 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.02801, allocations: 12 kB / 1.014 GB, free: 116 kB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001696/0.02818, allocations: 259.2 kB / 1.014 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.02818, allocations: 0 / 1.014 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004066/0.02858, allocations: 128 kB / 1.014 GB, free: 15.73 MB / 0.9792 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.0001179/0.0287, allocations: 111.1 kB / 1.014 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008061/0.02951, allocations: 0.7859 MB / 1.015 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.02951, allocations: 0 / 1.015 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.02985, allocations: 0.5364 MB / 1.016 GB, free: 14.22 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.03039, allocations: 136.1 kB / 1.016 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/0.03134, allocations: 0.9366 MB / 1.017 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.03152, allocations: 264.3 kB / 1.017 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.163e-05/0.0316, allocations: 40.5 kB / 1.017 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of SimCode: time 6.82e-07/0.0316, allocations: 0 / 1.017 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of Templates: time 0.008396/0.04, allocations: 11.21 MB / 1.028 GB, free: 1.574 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.195518649183214]