Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 111.8 kB / 18.14 MB, free: 3.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 198.2 kB / 21.42 MB, free: 0.5508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 250.2 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.754/2.754, allocations: 476.7 MB / 0.7637 GB, free: 10.15 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003369/0.003369, allocations: 71.81 kB / 1.108 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.756/0.7594, allocations: 168.7 MB / 1.273 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009706/0.7691, allocations: 7.075 MB / 1.28 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005829/0.7749, allocations: 3.192 MB / 1.283 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005382/0.7755, allocations: 23.88 kB / 1.283 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002672/0.7781, allocations: 0.9867 MB / 1.284 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.7797, allocations: 0.5246 MB / 1.284 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.7809, allocations: 443 kB / 1.285 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.7826, allocations: 1.232 MB / 1.286 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008374/0.7835, allocations: 488 kB / 1.286 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007065/0.7842, allocations: 482.3 kB / 1.287 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007824/0.785, allocations: 0.5487 MB / 1.287 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.7851, allocations: 64 kB / 1.287 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008108/0.7859, allocations: 387.2 kB / 1.288 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003578/0.7862, allocations: 331 kB / 1.288 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004752/0.7867, allocations: 449.7 kB / 1.289 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.7882, allocations: 1.226 MB / 1.29 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7882, allocations: 0 / 1.29 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7882, allocations: 0 / 1.29 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.7882, allocations: 0 / 1.29 GB, free: 2.922 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002057/0.7902, allocations: 1.191 MB / 1.291 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.7903, allocations: 12.03 kB / 1.291 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001515/0.7904, allocations: 114.7 kB / 1.291 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.792, allocations: 248.1 kB / 1.291 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.7931, allocations: 0.6158 MB / 1.292 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.7932, allocations: 45.69 kB / 1.292 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.7933, allocations: 64.36 kB / 1.292 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.7949, allocations: 1.081 MB / 1.293 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.7949, allocations: 7.938 kB / 1.293 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.795, allocations: 35.98 kB / 1.293 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/0.7951, allocations: 81.25 kB / 1.293 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.7964, allocations: 0.7543 MB / 1.294 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00615/0.8025, allocations: 5.879 MB / 1.3 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.8036, allocations: 0.5125 MB / 1.3 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004758/0.804, allocations: 287 kB / 1.3 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.8041, allocations: 4.438 kB / 1.3 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.8041, allocations: 46.98 kB / 1.301 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/0.8041, allocations: 0 / 1.301 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.004145/0.8083, allocations: 1.984 MB / 1.302 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.8083, allocations: 63.78 kB / 1.303 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007241/0.809, allocations: 0.5665 MB / 1.303 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.8091, allocations: 37.7 kB / 1.303 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.8094, allocations: 424 kB / 1.303 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.8096, allocations: 182.5 kB / 1.304 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.8098, allocations: 122.6 kB / 1.304 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.81, allocations: 378.7 kB / 1.304 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/0.8104, allocations: 273.8 kB / 1.304 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/0.811, allocations: 0.4892 MB / 1.305 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.8121, allocations: 0.8016 MB / 1.306 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.8121, allocations: 4 kB / 1.306 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001947/0.8141, allocations: 1.075 MB / 1.307 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.8141, allocations: 8 kB / 1.307 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.8141, allocations: 11.94 kB / 1.307 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008766/0.815, allocations: 291.5 kB / 1.307 GB, free: 268 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.8155, allocations: 123.8 kB / 1.307 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007341/0.8228, allocations: 7.142 MB / 1.314 GB, free: 8.434 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/0.8235, allocations: 39.97 kB / 1.314 GB, free: 8.395 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.8235, allocations: 27.94 kB / 1.314 GB, free: 8.367 MB / 1.014 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003912/0.8239, allocations: 258.1 kB / 1.314 GB, free: 8.105 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.824, allocations: 71.58 kB / 1.314 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.8257, allocations: 0.8847 MB / 1.315 GB, free: 7.121 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.8257, allocations: 4 kB / 1.315 GB, free: 7.117 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.8257, allocations: 8 kB / 1.315 GB, free: 7.109 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.8257, allocations: 7.969 kB / 1.315 GB, free: 7.102 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/0.8285, allocations: 1.709 MB / 1.317 GB, free: 5.305 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.8285, allocations: 7.938 kB / 1.317 GB, free: 5.297 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.8288, allocations: 55.95 kB / 1.317 GB, free: 5.242 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007757/0.8296, allocations: 267.3 kB / 1.317 GB, free: 4.969 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.8296, allocations: 12 kB / 1.317 GB, free: 4.957 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007108/0.8367, allocations: 7.123 MB / 1.324 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.8367, allocations: 4.031 kB / 1.324 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.8384, allocations: 0.9799 MB / 1.325 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.8388, allocations: 196.8 kB / 1.325 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.255e-05/0.8389, allocations: 23.86 kB / 1.326 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.8392, allocations: 31.91 kB / 1.326 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.8394, allocations: 43.89 kB / 1.326 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.8394, allocations: 19.98 kB / 1.326 GB, free: 11.92 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004844/0.8399, allocations: 387.1 kB / 1.326 GB, free: 11.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8399, allocations: 4 kB / 1.326 GB, free: 11.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008198/0.8407, allocations: 220 kB / 1.326 GB, free: 11.33 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001924/0.8426, allocations: 1.533 MB / 1.328 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002132/0.8447, allocations: 1.232 MB / 1.329 GB, free: 8.461 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.8448, allocations: 0 / 1.329 GB, free: 8.461 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.8461, allocations: 0.8581 MB / 1.33 GB, free: 7.551 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.8472, allocations: 234.9 kB / 1.33 GB, free: 7.328 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009069/0.8562, allocations: 6.411 MB / 1.336 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006788/0.8569, allocations: 1.005 MB / 1.337 GB, free: 15.54 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000388/0.8573, allocations: 126 kB / 1.337 GB, free: 15.41 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/0.8576, allocations: 247.4 kB / 1.338 GB, free: 15.17 MB / 1.045 GB Notification: Performance of SimCode: time 1.172e-06/0.8576, allocations: 4 kB / 1.338 GB, free: 15.17 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0571/0.9147, allocations: 17.71 MB / 1.355 GB, free: 13.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.86, allocations: 14.42 kB / 1.355 GB, free: 13.72 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 17.780854679644108]