Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001361/0.001361, allocations: 117 kB / 17.16 MB, free: 5.906 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.001528/0.001528, allocations: 215 kB / 20.13 MB, free: 2.961 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.485/1.485, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.912/2.912, allocations: 0.49 GB / 0.7923 GB, free: 1.281 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.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="cs",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.002045/0.002045, allocations: 71.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8444/0.8465, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02831/0.8748, allocations: 31.25 MB / 1.352 GB, free: 3.566 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02254/0.8973, allocations: 13.76 MB / 1.365 GB, free: 10.02 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00403/0.9013, allocations: 190.1 kB / 1.366 GB, free: 9.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009436/0.9108, allocations: 3.245 MB / 1.369 GB, free: 8 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008699/0.9195, allocations: 2.76 MB / 1.371 GB, free: 6.309 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006154/0.9256, allocations: 2.015 MB / 1.373 GB, free: 5.188 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01157/0.9372, allocations: 7.605 MB / 1.381 GB, free: 1.773 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009171/0.9464, allocations: 6.149 MB / 1.387 GB, free: 15.25 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00691/0.9533, allocations: 3.508 MB / 1.39 GB, free: 13.76 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006621/0.9599, allocations: 3.577 MB / 1.394 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00131/0.9612, allocations: 0.5957 MB / 1.394 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003725/0.9649, allocations: 1.517 MB / 1.396 GB, free: 11.9 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003068/0.968, allocations: 2.429 MB / 1.398 GB, free: 10.84 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005284/0.9733, allocations: 2.878 MB / 1.401 GB, free: 9.012 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01517/0.9885, allocations: 9.487 MB / 1.41 GB, free: 4.734 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.9885, allocations: 1.094 kB / 1.41 GB, free: 4.734 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9885, allocations: 4 kB / 1.41 GB, free: 4.73 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002806/0.9887, allocations: 0 / 1.41 GB, free: 4.73 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01323/1.002, allocations: 5.273 MB / 1.415 GB, free: 1.125 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.002, allocations: 13.17 kB / 1.415 GB, free: 1.121 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001164/1.002, allocations: 116.1 kB / 1.416 GB, free: 1.105 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001056/1.003, allocations: 0.622 MB / 1.416 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006209/1.009, allocations: 1.022 MB / 1.417 GB, free: 168 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006311/1.016, allocations: 3.093 MB / 1.42 GB, free: 14.09 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/1.016, allocations: 318.9 kB / 1.421 GB, free: 13.95 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008845/1.017, allocations: 417 kB / 1.421 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01237/1.029, allocations: 6.785 MB / 1.428 GB, free: 9.578 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/1.029, allocations: 27.47 kB / 1.428 GB, free: 9.559 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005053/1.03, allocations: 180.5 kB / 1.428 GB, free: 9.426 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009337/1.031, allocations: 373.5 kB / 1.428 GB, free: 9.316 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/1.041, allocations: 5.122 MB / 1.433 GB, free: 6.668 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03496/1.076, allocations: 30.57 MB / 1.463 GB, free: 5.535 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/1.078, allocations: 1.309 MB / 1.464 GB, free: 4.219 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/1.08, allocations: 1.246 MB / 1.465 GB, free: 2.973 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/1.08, allocations: 17.31 kB / 1.465 GB, free: 2.957 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/1.08, allocations: 51.81 kB / 1.466 GB, free: 2.898 MB / 1.139 GB Notification: Performance of pre-optimization done (n=130): time 3.737e-06/1.08, allocations: 0 / 1.466 GB, free: 2.898 MB / 1.139 GB Notification: Performance of matching and sorting (n=199): time 0.09357/1.174, allocations: 23.09 MB / 1.488 GB, free: 11.7 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/1.174, allocations: 73.41 kB / 1.488 GB, free: 11.61 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/1.177, allocations: 2.059 MB / 1.49 GB, free: 9.535 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002725/1.177, allocations: 65.64 kB / 1.49 GB, free: 9.465 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00168/1.179, allocations: 2.063 MB / 1.492 GB, free: 7.383 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008688/1.179, allocations: 0.7166 MB / 1.493 GB, free: 6.66 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008094/1.18, allocations: 408.4 kB / 1.493 GB, free: 6.254 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.18, allocations: 309 kB / 1.494 GB, free: 5.949 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/1.183, allocations: 1.43 MB / 1.495 GB, free: 4.516 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002705/1.185, allocations: 2.017 MB / 1.497 GB, free: 2.25 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005175/1.191, allocations: 3.692 MB / 1.501 GB, free: 14.32 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/1.191, allocations: 4 kB / 1.501 GB, free: 14.31 MB / 1.186 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01178/1.202, allocations: 5.596 MB / 1.506 GB, free: 8.648 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/1.202, allocations: 12 kB / 1.506 GB, free: 8.637 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/1.202, allocations: 16 kB / 1.506 GB, free: 8.621 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007096/1.21, allocations: 2.087 MB / 1.508 GB, free: 6.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.211, allocations: 379.4 kB / 1.508 GB, free: 6.109 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04358/1.255, allocations: 38.46 MB / 1.546 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/1.258, allocations: 123.9 kB / 1.546 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/1.258, allocations: 88 kB / 1.546 GB, free: 12.91 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003101/1.261, allocations: 1.516 MB / 1.548 GB, free: 11.38 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007388/1.262, allocations: 302.1 kB / 1.548 GB, free: 11.09 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/1.273, allocations: 5.137 MB / 1.553 GB, free: 5.871 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/1.273, allocations: 20 kB / 1.553 GB, free: 5.852 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.548e-05/1.273, allocations: 16 kB / 1.553 GB, free: 5.836 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/1.273, allocations: 11.95 kB / 1.553 GB, free: 5.824 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01929/1.292, allocations: 9.607 MB / 1.562 GB, free: 12.01 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/1.292, allocations: 8 kB / 1.562 GB, free: 12 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009149/1.293, allocations: 215.6 kB / 1.563 GB, free: 11.79 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00642/1.299, allocations: 1.838 MB / 1.564 GB, free: 9.898 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/1.3, allocations: 44 kB / 1.565 GB, free: 9.855 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04543/1.345, allocations: 37.47 MB / 1.601 GB, free: 1.859 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.345, allocations: 8 kB / 1.601 GB, free: 1.852 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/1.356, allocations: 4.859 MB / 1.606 GB, free: 12.83 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/1.357, allocations: 0.6281 MB / 1.606 GB, free: 12.18 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004731/1.358, allocations: 43.94 kB / 1.607 GB, free: 12.14 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.359, allocations: 127.8 kB / 1.607 GB, free: 12.02 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006603/1.36, allocations: 193.5 kB / 1.607 GB, free: 11.82 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/1.36, allocations: 60 kB / 1.607 GB, free: 11.77 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002235/1.362, allocations: 1.371 MB / 1.608 GB, free: 10.39 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.362, allocations: 0 / 1.608 GB, free: 10.39 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003665/1.366, allocations: 1.059 MB / 1.609 GB, free: 9.328 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01027/1.376, allocations: 5.476 MB / 1.615 GB, free: 3.688 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01111/1.387, allocations: 6.01 MB / 1.62 GB, free: 13.45 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.387, allocations: 0 / 1.62 GB, free: 13.45 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.007587/1.395, allocations: 4.285 MB / 1.625 GB, free: 8.93 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004568/1.399, allocations: 0.992 MB / 1.626 GB, free: 7.965 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05789/1.457, allocations: 30.65 MB / 1.656 GB, free: 8.262 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00392/1.461, allocations: 3.121 MB / 1.659 GB, free: 5.105 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.001877/1.463, allocations: 0.5237 MB / 1.659 GB, free: 4.578 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002192/1.465, allocations: 1.671 MB / 1.661 GB, free: 2.91 MB / 1.342 GB Notification: Performance of SimCode: time 1.623e-06/1.465, allocations: 0 / 1.661 GB, free: 2.91 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2189/1.684, allocations: 88.77 MB / 1.747 GB, free: 11.25 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/17.72, allocations: 19.84 kB / 1.747 GB, free: 11.23 MB / 1.436 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 25.18848168500699]