Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001907/0.001907, allocations: 105.7 kB / 16.45 MB, free: 6.453 MB / 14.72 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.002295/0.002295, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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.499/1.499, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.193/3.193, allocations: 0.49 GB / 0.7916 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_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_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 76.52 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3119, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01029/0.3222, allocations: 6.903 MB / 1.328 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006008/0.3282, allocations: 3.133 MB / 1.331 GB, free: 9.227 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006456/0.3288, allocations: 39.62 kB / 1.331 GB, free: 9.188 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002839/0.3317, allocations: 0.9747 MB / 1.332 GB, free: 8.211 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.3332, allocations: 0.5129 MB / 1.332 GB, free: 7.695 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.3345, allocations: 457.5 kB / 1.333 GB, free: 7.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001713/0.3362, allocations: 1.22 MB / 1.334 GB, free: 6.023 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009631/0.3371, allocations: 0.5415 MB / 1.334 GB, free: 5.477 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008392/0.338, allocations: 486.2 kB / 1.335 GB, free: 5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008652/0.3388, allocations: 0.5487 MB / 1.335 GB, free: 4.449 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.339, allocations: 72 kB / 1.335 GB, free: 4.379 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007883/0.3398, allocations: 391.2 kB / 1.336 GB, free: 3.996 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003883/0.3402, allocations: 319.1 kB / 1.336 GB, free: 3.684 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006015/0.3408, allocations: 453.7 kB / 1.336 GB, free: 3.238 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.3425, allocations: 1.218 MB / 1.338 GB, free: 2.016 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.3425, allocations: 7.984 kB / 1.338 GB, free: 2.008 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3425, allocations: 0 / 1.338 GB, free: 2.008 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.143e-05/0.3425, allocations: 0 / 1.338 GB, free: 2.008 MB / 1.029 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.002346/0.3449, allocations: 1.195 MB / 1.339 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3449, allocations: 11.98 kB / 1.339 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.3451, allocations: 130.7 kB / 1.339 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.3468, allocations: 240.1 kB / 1.339 GB, free: 384 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.3478, allocations: 0.6044 MB / 1.34 GB, free: 15.73 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/0.3479, allocations: 49.59 kB / 1.34 GB, free: 15.69 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.348, allocations: 72.25 kB / 1.34 GB, free: 15.62 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.3497, allocations: 1.085 MB / 1.341 GB, free: 14.42 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.3497, allocations: 11.88 kB / 1.341 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.464e-05/0.3498, allocations: 31.97 kB / 1.341 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/0.35, allocations: 85.25 kB / 1.341 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.3513, allocations: 0.7504 MB / 1.342 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006172/0.3575, allocations: 5.882 MB / 1.348 GB, free: 7.234 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.3585, allocations: 0.5125 MB / 1.348 GB, free: 6.703 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.359, allocations: 286 kB / 1.348 GB, free: 6.422 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.297e-05/0.359, allocations: 12.42 kB / 1.348 GB, free: 6.41 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.3591, allocations: 42.94 kB / 1.348 GB, free: 6.359 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.504e-06/0.3591, allocations: 0 / 1.348 GB, free: 6.359 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.004302/0.3634, allocations: 1.987 MB / 1.35 GB, free: 4.281 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.3634, allocations: 55.84 kB / 1.35 GB, free: 4.215 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/0.3642, allocations: 0.5588 MB / 1.351 GB, free: 3.645 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/0.3642, allocations: 37.7 kB / 1.351 GB, free: 3.602 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.3645, allocations: 424 kB / 1.351 GB, free: 3.184 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.3647, allocations: 182.5 kB / 1.352 GB, free: 3.004 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.365, allocations: 126.6 kB / 1.352 GB, free: 2.875 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.3652, allocations: 382.7 kB / 1.352 GB, free: 2.492 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.3656, allocations: 277.8 kB / 1.352 GB, free: 2.219 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.3663, allocations: 489 kB / 1.353 GB, free: 1.645 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.3675, allocations: 0.8132 MB / 1.354 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3675, allocations: 0 / 1.354 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002075/0.3696, allocations: 1.079 MB / 1.355 GB, free: 15.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3696, allocations: 8 kB / 1.355 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.3696, allocations: 4 kB / 1.355 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009434/0.3705, allocations: 291.8 kB / 1.355 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.371, allocations: 119.8 kB / 1.355 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00776/0.3788, allocations: 7.134 MB / 1.362 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.3795, allocations: 39.97 kB / 1.362 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.54e-05/0.3796, allocations: 31.98 kB / 1.362 GB, free: 7.441 MB / 1.061 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.0004599/0.38, allocations: 257.5 kB / 1.362 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.3802, allocations: 75.53 kB / 1.362 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.3821, allocations: 0.8886 MB / 1.363 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.3821, allocations: 4 kB / 1.363 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.3821, allocations: 4 kB / 1.363 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3821, allocations: 0 / 1.363 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.3851, allocations: 1.713 MB / 1.365 GB, free: 4.383 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.3851, allocations: 7.938 kB / 1.365 GB, free: 4.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.3854, allocations: 59.89 kB / 1.365 GB, free: 4.316 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008469/0.3862, allocations: 271.5 kB / 1.365 GB, free: 4.039 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.3863, allocations: 8 kB / 1.365 GB, free: 4.031 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007816/0.3941, allocations: 7.134 MB / 1.372 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.3941, allocations: 7.938 kB / 1.372 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.3959, allocations: 0.9761 MB / 1.373 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.3962, allocations: 200.5 kB / 1.373 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.3963, allocations: 11.94 kB / 1.373 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.3968, allocations: 27.97 kB / 1.373 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.3969, allocations: 43.88 kB / 1.373 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.3969, allocations: 20 kB / 1.373 GB, free: 10.99 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005263/0.3975, allocations: 387.1 kB / 1.374 GB, free: 10.62 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3975, allocations: 0 / 1.374 GB, free: 10.62 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008755/0.3983, allocations: 224 kB / 1.374 GB, free: 10.4 MB / 1.076 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.001962/0.4003, allocations: 1.537 MB / 1.376 GB, free: 8.805 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002163/0.4025, allocations: 1.236 MB / 1.377 GB, free: 7.512 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4025, allocations: 4.125 kB / 1.377 GB, free: 7.508 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.4038, allocations: 0.8657 MB / 1.378 GB, free: 6.59 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.4049, allocations: 225 kB / 1.378 GB, free: 6.379 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.4155, allocations: 6.4 MB / 1.384 GB, free: 15.64 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007725/0.4163, allocations: 1.009 MB / 1.385 GB, free: 14.61 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004464/0.4167, allocations: 130 kB / 1.385 GB, free: 14.48 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.4171, allocations: 251.3 kB / 1.385 GB, free: 14.23 MB / 1.092 GB Notification: Performance of SimCode: time 1.042e-06/0.4171, allocations: 4 kB / 1.385 GB, free: 14.23 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07722/0.4943, allocations: 17.63 MB / 1.403 GB, free: 12.94 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.47, allocations: 6.438 kB / 1.403 GB, free: 12.93 MB / 1.107 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.20126337185502]