Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0008225/0.0008225, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0008115/0.0008115, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8275/0.8275, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.667/1.667, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.9997 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.596e-06/9.969e-06, allocations: 2.281 kB / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.009909/0.009919, allocations: 13.72 MB / 1.013 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.008667/0.01859, allocations: 9.826 MB / 1.023 GB, free: 5.906 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005425/0.01913, allocations: 87.25 kB / 1.023 GB, free: 5.82 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.02094, allocations: 1.694 MB / 1.024 GB, free: 4.125 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.00237/0.02331, allocations: 1.905 MB / 1.026 GB, free: 2.215 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008448/0.02415, allocations: 0.7597 MB / 1.027 GB, free: 1.453 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001726/0.02588, allocations: 2.834 MB / 1.03 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009045/0.02678, allocations: 1.199 MB / 1.031 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.02813, allocations: 2.098 MB / 1.033 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006975/0.02882, allocations: 0.9386 MB / 1.034 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.02895, allocations: 160 kB / 1.034 GB, free: 10.17 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006309/0.02958, allocations: 0.7288 MB / 1.035 GB, free: 9.441 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003786/0.02996, allocations: 0.6347 MB / 1.035 GB, free: 8.805 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000396/0.03036, allocations: 0.6429 MB / 1.036 GB, free: 8.16 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.03193, allocations: 2.769 MB / 1.039 GB, free: 5.383 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.03194, allocations: 0 / 1.039 GB, free: 5.383 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.03194, allocations: 0 / 1.039 GB, free: 5.383 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.03195, allocations: 0 / 1.039 GB, free: 5.383 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.001962/0.03391, allocations: 2.124 MB / 1.041 GB, free: 3.219 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.03395, allocations: 8.75 kB / 1.041 GB, free: 3.211 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.0341, allocations: 202.3 kB / 1.041 GB, free: 3.004 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005423/0.03953, allocations: 2.121 MB / 1.043 GB, free: 0.8789 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3783/0.4179, allocations: 1.184 MB / 1.044 GB, free: 82.17 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.4179, allocations: 88.22 kB / 1.044 GB, free: 82.16 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.4181, allocations: 122.1 kB / 1.044 GB, free: 82.15 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/0.4209, allocations: 2.881 MB / 1.047 GB, free: 80.85 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.421, allocations: 6.5 kB / 1.047 GB, free: 80.85 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.872e-05/0.4211, allocations: 51.44 kB / 1.047 GB, free: 80.82 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002972/0.4213, allocations: 195.3 kB / 1.047 GB, free: 80.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003441/0.4248, allocations: 2.789 MB / 1.05 GB, free: 80.09 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006298/0.4311, allocations: 8.326 MB / 1.058 GB, free: 75.42 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.4339, allocations: 2.184 MB / 1.06 GB, free: 74.92 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.4353, allocations: 1.196 MB / 1.062 GB, free: 74.61 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.681e-05/0.4354, allocations: 15 kB / 1.062 GB, free: 74.61 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.4354, allocations: 42.38 kB / 1.062 GB, free: 74.56 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=89): time 1.953e-06/0.4354, allocations: 0 / 1.062 GB, free: 74.56 MB / 0.9948 GB Notification: Performance of matching and sorting (n=153): time 0.02755/0.4629, allocations: 16 MB / 1.077 GB, free: 71.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.463, allocations: 67.86 kB / 1.077 GB, free: 71.24 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.464, allocations: 1.185 MB / 1.079 GB, free: 70.78 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.37e-05/0.4641, allocations: 56.59 kB / 1.079 GB, free: 70.73 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.4644, allocations: 0.755 MB / 1.079 GB, free: 70.18 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.4647, allocations: 0.5327 MB / 1.08 GB, free: 69.83 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000348/0.465, allocations: 288.3 kB / 1.08 GB, free: 69.71 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.34e-05/0.4651, allocations: 302.8 kB / 1.08 GB, free: 69.41 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/0.4671, allocations: 1.509 MB / 1.082 GB, free: 68.96 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.4692, allocations: 1.78 MB / 1.084 GB, free: 68.21 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00394/0.4731, allocations: 3.368 MB / 1.087 GB, free: 66.84 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.4731, allocations: 2.094 kB / 1.087 GB, free: 66.84 MB / 0.9948 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007321/0.4804, allocations: 5.213 MB / 1.092 GB, free: 65.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.4805, allocations: 8.875 kB / 1.092 GB, free: 65.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.4805, allocations: 7.188 kB / 1.092 GB, free: 65.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003668/0.4841, allocations: 1.878 MB / 1.094 GB, free: 64.63 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009664/0.4851, allocations: 414.6 kB / 1.094 GB, free: 64.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/0.5009, allocations: 23.06 MB / 1.117 GB, free: 48.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.5023, allocations: 308.7 kB / 1.117 GB, free: 48.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.5024, allocations: 67.19 kB / 1.117 GB, free: 48.79 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006468/0.503, allocations: 460.5 kB / 1.118 GB, free: 48.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.5032, allocations: 196 kB / 1.118 GB, free: 48.39 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007555/0.5108, allocations: 5.243 MB / 1.123 GB, free: 46.64 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.5108, allocations: 18.16 kB / 1.123 GB, free: 46.64 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.459e-05/0.5108, allocations: 19.25 kB / 1.123 GB, free: 46.64 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.5108, allocations: 11.81 kB / 1.123 GB, free: 46.64 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008899/0.5197, allocations: 6.973 MB / 1.13 GB, free: 44.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.5197, allocations: 2.906 kB / 1.13 GB, free: 44.15 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007552/0.5205, allocations: 350.6 kB / 1.13 GB, free: 44.08 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002915/0.5234, allocations: 1.703 MB / 1.132 GB, free: 43.21 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.809e-05/0.5235, allocations: 42.16 kB / 1.132 GB, free: 43.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01365/0.5371, allocations: 22.21 MB / 1.153 GB, free: 25.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5371, allocations: 11.81 kB / 1.153 GB, free: 25.78 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005829/0.5429, allocations: 4.826 MB / 1.158 GB, free: 22.77 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004805/0.5434, allocations: 422.6 kB / 1.159 GB, free: 22.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.5435, allocations: 28 kB / 1.159 GB, free: 22.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009515/0.5445, allocations: 319.5 kB / 1.159 GB, free: 22.02 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002985/0.5448, allocations: 156.9 kB / 1.159 GB, free: 21.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.599e-05/0.5449, allocations: 55.97 kB / 1.159 GB, free: 21.81 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005652/0.5454, allocations: 0.7937 MB / 1.16 GB, free: 21.02 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.5454, allocations: 480 / 1.16 GB, free: 21.02 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00133/0.5468, allocations: 0.6602 MB / 1.161 GB, free: 20.36 MB / 0.9948 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005718/0.5525, allocations: 5.403 MB / 1.166 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005161/0.5576, allocations: 4.928 MB / 1.171 GB, free: 9.836 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5577, allocations: 4 kB / 1.171 GB, free: 9.832 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002926/0.5606, allocations: 3.262 MB / 1.174 GB, free: 6.469 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.5618, allocations: 0.5554 MB / 1.174 GB, free: 5.941 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02464/0.5864, allocations: 21.82 MB / 1.196 GB, free: 15.63 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007874/0.5872, allocations: 0.9765 MB / 1.197 GB, free: 14.62 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0008135/0.588, allocations: 386.4 kB / 1.197 GB, free: 14.23 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005766/0.5886, allocations: 0.6642 MB / 1.198 GB, free: 13.57 MB / 1.026 GB Notification: Performance of SimCode: time 1.373e-06/0.5886, allocations: 0 / 1.198 GB, free: 13.57 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06935/0.658, allocations: 63.84 MB / 1.26 GB, free: 14.67 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.505, allocations: 15.97 kB / 1.26 GB, free: 14.66 MB / 1.089 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 12.350430340506136]