Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001532/0.001532, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001927/0.001927, allocations: 216.3 kB / 22.25 MB, free: 5.105 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.805 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.148/3.148, allocations: 0.49 GB / 0.7951 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.00198/0.00198, allocations: 66.59 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3226, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01311/0.3357, allocations: 9.637 MB / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005939/0.3416, allocations: 3.158 MB / 1.338 GB, free: 4.648 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006766/0.3423, allocations: 47.69 kB / 1.338 GB, free: 4.602 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.344, allocations: 0.6032 MB / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.3456, allocations: 0.7817 MB / 1.34 GB, free: 3.211 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.3472, allocations: 0.7442 MB / 1.34 GB, free: 2.469 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00344/0.3507, allocations: 2.996 MB / 1.343 GB, free: 15.46 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/0.3527, allocations: 1.423 MB / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.3547, allocations: 1.297 MB / 1.346 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.3575, allocations: 1.694 MB / 1.348 GB, free: 10.99 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003891/0.3579, allocations: 236 kB / 1.348 GB, free: 10.76 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.3589, allocations: 487.3 kB / 1.348 GB, free: 10.29 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001247/0.3602, allocations: 1.099 MB / 1.349 GB, free: 9.184 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.3614, allocations: 0.9143 MB / 1.35 GB, free: 8.266 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004046/0.3654, allocations: 3.711 MB / 1.354 GB, free: 4.543 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3654, allocations: 8 kB / 1.354 GB, free: 4.535 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3655, allocations: 0 / 1.354 GB, free: 4.535 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.154e-05/0.3655, allocations: 0 / 1.354 GB, free: 4.535 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004352/0.3699, allocations: 2.115 MB / 1.356 GB, free: 2.379 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3699, allocations: 8.031 kB / 1.356 GB, free: 2.371 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003767/0.3703, allocations: 257.2 kB / 1.356 GB, free: 2.109 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008676/0.379, allocations: 1.338 MB / 1.358 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/0.3825, allocations: 1.265 MB / 1.359 GB, free: 15.48 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.3826, allocations: 115.4 kB / 1.359 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004651/0.3831, allocations: 148.3 kB / 1.359 GB, free: 15.22 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005837/0.3889, allocations: 3.516 MB / 1.363 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/0.389, allocations: 3.938 kB / 1.363 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002254/0.3892, allocations: 67.97 kB / 1.363 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002768/0.3895, allocations: 199.1 kB / 1.363 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005272/0.3947, allocations: 3.12 MB / 1.366 GB, free: 8.199 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01801/0.4127, allocations: 10.07 MB / 1.376 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.4154, allocations: 1.615 MB / 1.377 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002021/0.4174, allocations: 1.323 MB / 1.379 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.021e-05/0.4175, allocations: 17 kB / 1.379 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.4175, allocations: 47.55 kB / 1.379 GB, free: 10.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 2.946e-06/0.4175, allocations: 0 / 1.379 GB, free: 10.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.148/0.5655, allocations: 36.19 MB / 1.414 GB, free: 6.664 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.5656, allocations: 69.41 kB / 1.414 GB, free: 6.582 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.5671, allocations: 1.077 MB / 1.415 GB, free: 5.48 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002647/0.5674, allocations: 57.69 kB / 1.415 GB, free: 5.418 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006387/0.5681, allocations: 0.8093 MB / 1.416 GB, free: 4.598 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006708/0.5687, allocations: 0.6545 MB / 1.417 GB, free: 3.938 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008046/0.5695, allocations: 367.5 kB / 1.417 GB, free: 3.574 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.5697, allocations: 305.1 kB / 1.417 GB, free: 3.273 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002912/0.5726, allocations: 1.928 MB / 1.419 GB, free: 1.344 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003266/0.5758, allocations: 2.293 MB / 1.421 GB, free: 14.92 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006356/0.5822, allocations: 4.387 MB / 1.426 GB, free: 10.41 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.5822, allocations: 0 / 1.426 GB, free: 10.41 MB / 1.123 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02085/0.603, allocations: 8.877 MB / 1.434 GB, free: 1.508 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.6031, allocations: 12 kB / 1.434 GB, free: 1.496 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.828e-05/0.6031, allocations: 12.03 kB / 1.434 GB, free: 1.484 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01796/0.6211, allocations: 4.969 MB / 1.439 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000915/0.622, allocations: 199.6 kB / 1.439 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06161/0.6836, allocations: 37.99 MB / 1.476 GB, free: 5.844 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.6854, allocations: 99.89 kB / 1.477 GB, free: 5.746 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/0.6856, allocations: 64 kB / 1.477 GB, free: 5.684 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001387/0.687, allocations: 0.8056 MB / 1.477 GB, free: 4.867 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/0.6873, allocations: 147.1 kB / 1.478 GB, free: 4.723 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02032/0.7076, allocations: 8.737 MB / 1.486 GB, free: 11.95 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.7076, allocations: 16 kB / 1.486 GB, free: 11.93 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.709e-05/0.7077, allocations: 31.98 kB / 1.486 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/0.7077, allocations: 15.97 kB / 1.486 GB, free: 11.89 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02791/0.7357, allocations: 12.65 MB / 1.498 GB, free: 15.11 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.7357, allocations: 8.062 kB / 1.498 GB, free: 15.11 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004913/0.7362, allocations: 123.8 kB / 1.499 GB, free: 14.98 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01708/0.7532, allocations: 4.832 MB / 1.503 GB, free: 10.14 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002748/0.7535, allocations: 32 kB / 1.503 GB, free: 10.11 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05718/0.8107, allocations: 35.92 MB / 1.538 GB, free: 5.703 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.8107, allocations: 7.938 kB / 1.538 GB, free: 5.695 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01997/0.8307, allocations: 8.456 MB / 1.547 GB, free: 13.15 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00186/0.8325, allocations: 0.573 MB / 1.547 GB, free: 12.58 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003257/0.8329, allocations: 43.94 kB / 1.547 GB, free: 12.54 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.834, allocations: 91.88 kB / 1.547 GB, free: 12.45 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007957/0.8348, allocations: 169.5 kB / 1.548 GB, free: 12.28 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/0.835, allocations: 48 kB / 1.548 GB, free: 12.23 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001025/0.836, allocations: 0.7382 MB / 1.548 GB, free: 11.48 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.01e-07/0.836, allocations: 0 / 1.548 GB, free: 11.48 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002867/0.8389, allocations: 1.008 MB / 1.549 GB, free: 10.48 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01984/0.8587, allocations: 9.035 MB / 1.558 GB, free: 1.344 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01009/0.8688, allocations: 5.74 MB / 1.564 GB, free: 11.55 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.8688, allocations: 0 / 1.564 GB, free: 11.55 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.007829/0.8767, allocations: 3.784 MB / 1.567 GB, free: 7.711 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.8781, allocations: 242.2 kB / 1.568 GB, free: 7.48 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06066/0.9388, allocations: 30.85 MB / 1.598 GB, free: 8.102 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.9405, allocations: 1.271 MB / 1.599 GB, free: 6.793 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008581/0.9414, allocations: 351.4 kB / 1.599 GB, free: 6.445 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007992/0.9422, allocations: 0.6086 MB / 1.6 GB, free: 5.836 MB / 1.295 GB Notification: Performance of SimCode: time 1.282e-06/0.9422, allocations: 0 / 1.6 GB, free: 5.836 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.691/1.633, allocations: 81.51 MB / 1.68 GB, free: 223.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/14.57, allocations: 4.484 kB / 1.68 GB, free: 223.3 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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: 21.266175903991098]