Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001537/0.001537, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001785/0.001785, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.1/3.1, allocations: 0.49 GB / 0.7959 GB, free: 33.38 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.ACLine_L,fileNamePrefix="Buildings_12_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_12_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.001908/0.001908, allocations: 69.42 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.328, allocations: 176.1 MB / 1.327 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04103/0.3691, allocations: 34.28 MB / 1.36 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01855/0.3876, allocations: 10.7 MB / 1.371 GB, free: 4.879 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003129/0.3908, allocations: 198.5 kB / 1.371 GB, free: 4.684 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01036/0.4011, allocations: 3.882 MB / 1.375 GB, free: 0.793 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006314/0.4074, allocations: 1.956 MB / 1.376 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006191/0.4136, allocations: 2.192 MB / 1.379 GB, free: 12.64 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009705/0.4233, allocations: 7.33 MB / 1.386 GB, free: 5.281 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009999/0.4333, allocations: 5.154 MB / 1.391 GB, free: 4 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006014/0.4393, allocations: 3.268 MB / 1.394 GB, free: 12.73 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006817/0.4462, allocations: 3.684 MB / 1.398 GB, free: 9.031 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002134/0.4483, allocations: 0.6445 MB / 1.398 GB, free: 8.387 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005229/0.4535, allocations: 1.806 MB / 1.4 GB, free: 6.578 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004388/0.4579, allocations: 2.615 MB / 1.403 GB, free: 3.957 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.006117/0.464, allocations: 2.902 MB / 1.405 GB, free: 1.043 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.4778, allocations: 10.12 MB / 1.415 GB, free: 6.887 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4778, allocations: 0 / 1.415 GB, free: 6.887 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4778, allocations: 0 / 1.415 GB, free: 6.887 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003077/0.4782, allocations: 0 / 1.415 GB, free: 6.887 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.01313/0.4913, allocations: 5.06 MB / 1.42 GB, free: 1.766 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4913, allocations: 12.03 kB / 1.42 GB, free: 1.754 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001324/0.4915, allocations: 125.5 kB / 1.42 GB, free: 1.629 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002037/0.4935, allocations: 0.6859 MB / 1.421 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006206/0.4997, allocations: 0.9765 MB / 1.422 GB, free: 15.95 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006844/0.5065, allocations: 2.995 MB / 1.425 GB, free: 12.89 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/0.5069, allocations: 353.7 kB / 1.425 GB, free: 12.54 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/0.5084, allocations: 461.2 kB / 1.426 GB, free: 12.09 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.5235, allocations: 7.667 MB / 1.433 GB, free: 4.074 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/0.5237, allocations: 27.78 kB / 1.433 GB, free: 4.047 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006588/0.5243, allocations: 199.9 kB / 1.433 GB, free: 3.852 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003511/0.5247, allocations: 316.9 kB / 1.434 GB, free: 3.539 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.5362, allocations: 5.706 MB / 1.439 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03868/0.5749, allocations: 34.57 MB / 1.473 GB, free: 8.031 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.5775, allocations: 1.558 MB / 1.475 GB, free: 6.465 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.579, allocations: 1.12 MB / 1.476 GB, free: 5.344 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.122e-05/0.5791, allocations: 13.31 kB / 1.476 GB, free: 5.328 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.5791, allocations: 47.88 kB / 1.476 GB, free: 5.273 MB / 1.17 GB Notification: Performance of pre-optimization done (n=133): time 3.126e-06/0.5791, allocations: 0 / 1.476 GB, free: 5.273 MB / 1.17 GB Notification: Performance of matching and sorting (n=136): time 0.01335/0.5925, allocations: 6.215 MB / 1.482 GB, free: 15.01 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.5925, allocations: 72.66 kB / 1.482 GB, free: 14.93 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.5945, allocations: 1.484 MB / 1.483 GB, free: 13.4 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.5947, allocations: 45.7 kB / 1.483 GB, free: 13.35 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.5961, allocations: 2.061 MB / 1.485 GB, free: 11.27 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005463/0.5966, allocations: 0.5113 MB / 1.486 GB, free: 10.75 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005347/0.5972, allocations: 351.3 kB / 1.486 GB, free: 10.4 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5973, allocations: 301.1 kB / 1.486 GB, free: 10.11 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.5987, allocations: 0.9096 MB / 1.487 GB, free: 9.195 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/0.6006, allocations: 1.597 MB / 1.489 GB, free: 7.289 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003456/0.604, allocations: 2.733 MB / 1.492 GB, free: 4.242 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/0.604, allocations: 8 kB / 1.492 GB, free: 4.234 MB / 1.186 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006237/0.6103, allocations: 3.516 MB / 1.495 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.6103, allocations: 20.25 kB / 1.495 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.689e-05/0.6103, allocations: 20 kB / 1.495 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00257/0.6129, allocations: 0.8999 MB / 1.496 GB, free: 15.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.6141, allocations: 355.4 kB / 1.496 GB, free: 15.35 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0219/0.636, allocations: 21.89 MB / 1.518 GB, free: 8.086 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.6377, allocations: 95.92 kB / 1.518 GB, free: 7.992 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.638, allocations: 91.98 kB / 1.518 GB, free: 7.902 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.002997/0.641, allocations: 1.602 MB / 1.519 GB, free: 6.289 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000519/0.6415, allocations: 214.7 kB / 1.52 GB, free: 6.078 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005537/0.6471, allocations: 2.966 MB / 1.522 GB, free: 3.062 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.6471, allocations: 16 kB / 1.523 GB, free: 3.047 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.944e-05/0.6471, allocations: 8 kB / 1.523 GB, free: 3.039 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.6471, allocations: 7.969 kB / 1.523 GB, free: 3.031 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/0.66, allocations: 7.293 MB / 1.53 GB, free: 11.51 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.66, allocations: 4 kB / 1.53 GB, free: 11.5 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007937/0.6608, allocations: 176.3 kB / 1.53 GB, free: 11.33 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002389/0.6632, allocations: 0.8336 MB / 1.531 GB, free: 10.46 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.6633, allocations: 27.98 kB / 1.531 GB, free: 10.43 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02004/0.6834, allocations: 20.72 MB / 1.551 GB, free: 4.34 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.6834, allocations: 15.94 kB / 1.551 GB, free: 4.324 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005387/0.6888, allocations: 3.007 MB / 1.554 GB, free: 1.203 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.6898, allocations: 390.5 kB / 1.554 GB, free: 0.8203 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/0.6901, allocations: 35.89 kB / 1.554 GB, free: 0.7852 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/0.691, allocations: 79.84 kB / 1.554 GB, free: 0.707 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003637/0.6913, allocations: 132.6 kB / 1.554 GB, free: 0.5781 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.904e-05/0.6914, allocations: 36 kB / 1.554 GB, free: 0.543 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001329/0.6927, allocations: 0.9717 MB / 1.555 GB, free: 15.55 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6927, allocations: 4 kB / 1.555 GB, free: 15.54 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002643/0.6954, allocations: 0.7891 MB / 1.556 GB, free: 14.75 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.005366/0.7008, allocations: 3.598 MB / 1.56 GB, free: 11.04 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.005995/0.7067, allocations: 3.921 MB / 1.564 GB, free: 6.961 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.7068, allocations: 0 / 1.564 GB, free: 6.961 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003832/0.7106, allocations: 2.667 MB / 1.566 GB, free: 4.137 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/0.7139, allocations: 0.7406 MB / 1.567 GB, free: 3.422 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0365/0.7504, allocations: 22.52 MB / 1.589 GB, free: 11.87 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004037/0.7544, allocations: 3.105 MB / 1.592 GB, free: 8.738 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00134/0.7558, allocations: 457.9 kB / 1.592 GB, free: 8.289 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/0.7577, allocations: 1.546 MB / 1.594 GB, free: 6.742 MB / 1.295 GB Notification: Performance of SimCode: time 8.42e-07/0.7577, allocations: 0 / 1.594 GB, free: 6.742 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.745/1.503, allocations: 63.5 MB / 1.656 GB, free: 260.3 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.88, allocations: 9.812 kB / 1.656 GB, free: 260.3 MB / 1.311 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 23.38931713596685]