Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.00167/0.00167, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001956/0.001956, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 3.063/3.063, allocations: 0.5003 GB / 0.8026 GB, free: 6.66 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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.001925/0.001925, allocations: 63.91 kB / 1.165 GB, free: 436 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03852/1.073, allocations: 35.47 MB / 1.375 GB, free: 8.531 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02415/1.098, allocations: 11.67 MB / 1.386 GB, free: 0.5664 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004704/1.102, allocations: 210.7 kB / 1.386 GB, free: 480 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01307/1.115, allocations: 4.318 MB / 1.391 GB, free: 13.9 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007833/1.123, allocations: 2.091 MB / 1.393 GB, free: 12.62 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007673/1.131, allocations: 2.408 MB / 1.395 GB, free: 11.27 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01366/1.145, allocations: 8.457 MB / 1.403 GB, free: 7.484 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01693/1.161, allocations: 8.418 MB / 1.411 GB, free: 4.105 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009075/1.171, allocations: 3.858 MB / 1.415 GB, free: 2.102 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009276/1.18, allocations: 4.425 MB / 1.42 GB, free: 15.32 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002995/1.183, allocations: 0.7792 MB / 1.42 GB, free: 15.32 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00653/1.189, allocations: 2.059 MB / 1.422 GB, free: 14.62 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.006238/1.196, allocations: 3.14 MB / 1.425 GB, free: 12.59 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.008502/1.204, allocations: 3.402 MB / 1.429 GB, free: 10.18 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01889/1.223, allocations: 12.01 MB / 1.44 GB, free: 1.457 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.223, allocations: 0 / 1.44 GB, free: 1.457 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.543e-06/1.223, allocations: 1.031 kB / 1.44 GB, free: 1.457 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.000385/1.223, allocations: 0 / 1.44 GB, free: 1.457 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01602/1.239, allocations: 5.941 MB / 1.446 GB, free: 11.66 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.239, allocations: 8.031 kB / 1.446 GB, free: 11.65 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001511/1.24, allocations: 147.3 kB / 1.446 GB, free: 11.5 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001831/1.241, allocations: 0.8051 MB / 1.447 GB, free: 10.69 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006509/1.248, allocations: 1.098 MB / 1.448 GB, free: 9.586 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008481/1.256, allocations: 3.463 MB / 1.452 GB, free: 6.066 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003805/1.257, allocations: 419.5 kB / 1.452 GB, free: 5.656 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001977/1.259, allocations: 0.5354 MB / 1.453 GB, free: 5.121 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02201/1.281, allocations: 9.086 MB / 1.461 GB, free: 11.71 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/1.281, allocations: 31.77 kB / 1.461 GB, free: 11.68 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007845/1.282, allocations: 236 kB / 1.462 GB, free: 11.45 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004137/1.282, allocations: 346.8 kB / 1.462 GB, free: 11.11 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/1.297, allocations: 6.83 MB / 1.469 GB, free: 4.273 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05906/1.356, allocations: 39.85 MB / 1.508 GB, free: 8.719 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004754/1.361, allocations: 2.927 MB / 1.51 GB, free: 5.656 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002772/1.364, allocations: 1.775 MB / 1.512 GB, free: 3.883 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/1.364, allocations: 22 kB / 1.512 GB, free: 3.863 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/1.364, allocations: 56.56 kB / 1.512 GB, free: 3.797 MB / 1.186 GB Notification: Performance of pre-optimization done (n=179): time 3.297e-06/1.364, allocations: 0 / 1.512 GB, free: 3.797 MB / 1.186 GB Notification: Performance of matching and sorting (n=182): time 0.02584/1.39, allocations: 9.991 MB / 1.522 GB, free: 9.715 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/1.39, allocations: 69.41 kB / 1.522 GB, free: 9.637 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/1.392, allocations: 1.53 MB / 1.524 GB, free: 8.062 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001691/1.392, allocations: 61.7 kB / 1.524 GB, free: 7.996 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001952/1.394, allocations: 2.32 MB / 1.526 GB, free: 5.652 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007847/1.395, allocations: 0.6662 MB / 1.527 GB, free: 4.98 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007596/1.396, allocations: 416.1 kB / 1.527 GB, free: 4.566 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.396, allocations: 305.1 kB / 1.527 GB, free: 4.266 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001849/1.398, allocations: 1.176 MB / 1.528 GB, free: 3.086 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002476/1.4, allocations: 1.885 MB / 1.53 GB, free: 0.8789 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004556/1.405, allocations: 3.368 MB / 1.534 GB, free: 13.2 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/1.405, allocations: 8 kB / 1.534 GB, free: 13.19 MB / 1.217 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008292/1.413, allocations: 4.531 MB / 1.538 GB, free: 8.637 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.476e-05/1.413, allocations: 21.97 kB / 1.538 GB, free: 8.617 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/1.413, allocations: 24 kB / 1.538 GB, free: 8.594 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003985/1.417, allocations: 1.576 MB / 1.54 GB, free: 7.008 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/1.419, allocations: 355.3 kB / 1.54 GB, free: 6.66 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02595/1.445, allocations: 18.6 MB / 1.558 GB, free: 3.504 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/1.447, allocations: 119.9 kB / 1.558 GB, free: 3.387 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/1.447, allocations: 92 kB / 1.558 GB, free: 3.297 MB / 1.232 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003915/1.451, allocations: 1.9 MB / 1.56 GB, free: 1.387 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005255/1.451, allocations: 234.5 kB / 1.56 GB, free: 1.156 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007417/1.459, allocations: 4.04 MB / 1.564 GB, free: 13.08 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/1.459, allocations: 16 kB / 1.564 GB, free: 13.07 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-05/1.459, allocations: 20 kB / 1.564 GB, free: 13.05 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/1.459, allocations: 11.91 kB / 1.564 GB, free: 13.04 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/1.475, allocations: 9.41 MB / 1.574 GB, free: 3.387 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/1.475, allocations: 4.562 kB / 1.574 GB, free: 3.383 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008407/1.476, allocations: 183.7 kB / 1.574 GB, free: 3.203 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003649/1.479, allocations: 1.363 MB / 1.575 GB, free: 1.828 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/1.479, allocations: 32 kB / 1.575 GB, free: 1.797 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02357/1.503, allocations: 17.38 MB / 1.592 GB, free: 15.86 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.503, allocations: 4 kB / 1.592 GB, free: 15.86 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007711/1.511, allocations: 4.032 MB / 1.596 GB, free: 11.73 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.512, allocations: 0.5346 MB / 1.596 GB, free: 11.17 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003682/1.513, allocations: 39.98 kB / 1.597 GB, free: 11.13 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.514, allocations: 87.89 kB / 1.597 GB, free: 11.05 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005508/1.514, allocations: 161.7 kB / 1.597 GB, free: 10.89 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.514, allocations: 48 kB / 1.597 GB, free: 10.84 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001572/1.516, allocations: 1.001 MB / 1.598 GB, free: 9.82 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.4e-07/1.516, allocations: 0 / 1.598 GB, free: 9.82 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003802/1.52, allocations: 0.9921 MB / 1.599 GB, free: 8.828 MB / 1.279 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007403/1.527, allocations: 4.637 MB / 1.603 GB, free: 4.094 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007329/1.534, allocations: 4.156 MB / 1.607 GB, free: 15.89 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/1.534, allocations: 8.062 kB / 1.607 GB, free: 15.88 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004374/1.539, allocations: 2.587 MB / 1.61 GB, free: 13.25 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003657/1.542, allocations: 0.7776 MB / 1.611 GB, free: 12.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04893/1.591, allocations: 26.88 MB / 1.637 GB, free: 0.5352 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004835/1.596, allocations: 3.576 MB / 1.64 GB, free: 12.93 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.001469/1.598, allocations: 463.9 kB / 1.641 GB, free: 12.47 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002266/1.6, allocations: 1.784 MB / 1.643 GB, free: 10.68 MB / 1.326 GB Notification: Performance of SimCode: time 1.603e-06/1.6, allocations: 0 / 1.643 GB, free: 10.68 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.14/1.74, allocations: 74.47 MB / 1.715 GB, free: 0.9141 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/15.9, allocations: 18.25 kB / 1.715 GB, free: 0.8984 MB / 1.389 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.81882286100881]