Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001235/0.001235, allocations: 116.1 kB / 17.17 MB, free: 6 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.001317/0.001317, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.56/1.56, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.985/2.985, allocations: 0.5003 GB / 0.8026 GB, free: 6.922 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.002387/0.002387, allocations: 63.91 kB / 1.165 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 178.9 MB / 1.34 GB, free: 16.34 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03808/1.089, allocations: 33.19 MB / 1.373 GB, free: 10.08 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02183/1.11, allocations: 10.42 MB / 1.383 GB, free: 2.941 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004963/1.115, allocations: 193.7 kB / 1.383 GB, free: 2.852 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0111/1.126, allocations: 3.778 MB / 1.387 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007675/1.134, allocations: 1.954 MB / 1.389 GB, free: 15.4 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007807/1.142, allocations: 2.135 MB / 1.391 GB, free: 14.2 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01276/1.155, allocations: 7.322 MB / 1.398 GB, free: 10.9 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01573/1.17, allocations: 7.047 MB / 1.405 GB, free: 8.09 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008334/1.179, allocations: 3.271 MB / 1.408 GB, free: 6.586 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008507/1.187, allocations: 3.683 MB / 1.411 GB, free: 4.934 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003035/1.19, allocations: 0.646 MB / 1.412 GB, free: 4.934 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006878/1.197, allocations: 1.805 MB / 1.414 GB, free: 4.297 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.006196/1.203, allocations: 2.613 MB / 1.416 GB, free: 2.602 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.008706/1.212, allocations: 2.893 MB / 1.419 GB, free: 0.5586 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01834/1.23, allocations: 10.14 MB / 1.429 GB, free: 9.207 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.23, allocations: 4 kB / 1.429 GB, free: 9.203 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.365e-06/1.23, allocations: 0 / 1.429 GB, free: 9.203 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003944/1.231, allocations: 0 / 1.429 GB, free: 9.203 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01902/1.25, allocations: 5.118 MB / 1.434 GB, free: 5.707 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/1.25, allocations: 9.406 kB / 1.434 GB, free: 5.707 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002393/1.25, allocations: 124.9 kB / 1.434 GB, free: 5.695 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002976/1.253, allocations: 0.686 MB / 1.435 GB, free: 5.207 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007512/1.261, allocations: 0.9859 MB / 1.436 GB, free: 4.711 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008565/1.269, allocations: 3.063 MB / 1.439 GB, free: 2.707 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004959/1.27, allocations: 345 kB / 1.439 GB, free: 2.551 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002123/1.272, allocations: 457.7 kB / 1.44 GB, free: 2.398 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02113/1.293, allocations: 7.672 MB / 1.447 GB, free: 10.45 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000209/1.293, allocations: 27.83 kB / 1.447 GB, free: 10.42 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001464/1.295, allocations: 200 kB / 1.447 GB, free: 10.22 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004275/1.295, allocations: 312.9 kB / 1.448 GB, free: 9.914 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/1.308, allocations: 5.71 MB / 1.453 GB, free: 4.188 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04806/1.356, allocations: 34.89 MB / 1.487 GB, free: 14.1 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/1.359, allocations: 2.013 MB / 1.489 GB, free: 11.97 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/1.361, allocations: 1.12 MB / 1.49 GB, free: 10.85 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/1.361, allocations: 21.3 kB / 1.49 GB, free: 10.83 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/1.361, allocations: 43.88 kB / 1.49 GB, free: 10.78 MB / 1.17 GB Notification: Performance of pre-optimization done (n=133): time 2.835e-06/1.361, allocations: 0 / 1.49 GB, free: 10.78 MB / 1.17 GB Notification: Performance of matching and sorting (n=136): time 0.01615/1.377, allocations: 7.126 MB / 1.497 GB, free: 3.383 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/1.377, allocations: 64.72 kB / 1.497 GB, free: 3.309 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002694/1.38, allocations: 1.488 MB / 1.499 GB, free: 1.773 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/1.38, allocations: 49.7 kB / 1.499 GB, free: 1.719 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001691/1.381, allocations: 2.065 MB / 1.501 GB, free: 15.63 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005734/1.382, allocations: 0.4996 MB / 1.501 GB, free: 15.13 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006847/1.383, allocations: 355.3 kB / 1.502 GB, free: 14.78 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.383, allocations: 305.1 kB / 1.502 GB, free: 14.48 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/1.384, allocations: 0.9096 MB / 1.503 GB, free: 13.57 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/1.387, allocations: 1.597 MB / 1.505 GB, free: 11.66 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00403/1.391, allocations: 2.733 MB / 1.507 GB, free: 8.613 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/1.391, allocations: 4 kB / 1.507 GB, free: 8.609 MB / 1.186 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007012/1.398, allocations: 3.507 MB / 1.511 GB, free: 5.055 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/1.398, allocations: 19.94 kB / 1.511 GB, free: 5.035 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.191e-05/1.398, allocations: 24.84 kB / 1.511 GB, free: 5.012 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00293/1.401, allocations: 0.9037 MB / 1.512 GB, free: 4.07 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/1.402, allocations: 347.4 kB / 1.512 GB, free: 3.73 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02509/1.427, allocations: 23.12 MB / 1.534 GB, free: 10.93 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/1.429, allocations: 104 kB / 1.535 GB, free: 10.83 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003016/1.429, allocations: 84 kB / 1.535 GB, free: 10.75 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.003025/1.432, allocations: 1.609 MB / 1.536 GB, free: 9.125 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005281/1.433, allocations: 214.6 kB / 1.536 GB, free: 8.914 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006249/1.439, allocations: 2.963 MB / 1.539 GB, free: 5.902 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/1.439, allocations: 12 kB / 1.539 GB, free: 5.891 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.605e-05/1.439, allocations: 12 kB / 1.539 GB, free: 5.879 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/1.439, allocations: 7.969 kB / 1.539 GB, free: 5.871 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/1.454, allocations: 7.313 MB / 1.546 GB, free: 14.32 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/1.454, allocations: 4 kB / 1.546 GB, free: 14.32 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/1.455, allocations: 175.7 kB / 1.547 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002708/1.457, allocations: 0.8264 MB / 1.547 GB, free: 13.28 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/1.457, allocations: 24 kB / 1.547 GB, free: 13.26 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02293/1.48, allocations: 21.97 MB / 1.569 GB, free: 5.602 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.48, allocations: 4 kB / 1.569 GB, free: 5.598 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006039/1.486, allocations: 3.014 MB / 1.572 GB, free: 2.477 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.487, allocations: 471.6 kB / 1.572 GB, free: 1.996 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/1.488, allocations: 27.98 kB / 1.572 GB, free: 1.969 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008412/1.489, allocations: 71.92 kB / 1.572 GB, free: 1.898 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003804/1.489, allocations: 128.7 kB / 1.573 GB, free: 1.773 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-05/1.489, allocations: 36 kB / 1.573 GB, free: 1.738 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001473/1.49, allocations: 0.9795 MB / 1.574 GB, free: 0.7344 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/1.49, allocations: 0 / 1.574 GB, free: 0.7344 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003418/1.494, allocations: 0.7852 MB / 1.574 GB, free: 15.95 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005938/1.5, allocations: 3.603 MB / 1.578 GB, free: 12.22 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.006561/1.506, allocations: 3.918 MB / 1.582 GB, free: 8.152 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.506, allocations: 12 kB / 1.582 GB, free: 8.141 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004078/1.51, allocations: 2.654 MB / 1.584 GB, free: 5.328 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/1.514, allocations: 0.7421 MB / 1.585 GB, free: 4.609 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04049/1.554, allocations: 22.42 MB / 1.607 GB, free: 13.16 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00438/1.559, allocations: 3.105 MB / 1.61 GB, free: 10.02 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001538/1.56, allocations: 461.9 kB / 1.61 GB, free: 9.566 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/1.562, allocations: 1.534 MB / 1.612 GB, free: 8.031 MB / 1.295 GB Notification: Performance of SimCode: time 2.976e-06/1.562, allocations: 0 / 1.612 GB, free: 8.031 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1437/1.706, allocations: 61.88 MB / 1.672 GB, free: 10.83 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/15.69, allocations: 10.03 kB / 1.672 GB, free: 10.82 MB / 1.357 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 23.28727045597043]