Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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.001249/0.001249, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001395/0.001395, allocations: 217.8 kB / 23.03 MB, free: 4.945 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.092/3.092, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 177] 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.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",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.001993/0.001993, allocations: 70.45 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.366, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007762/0.3737, allocations: 5.313 MB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00291/0.3766, allocations: 1.695 MB / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.3768, allocations: 16 kB / 1.352 GB, free: 8.848 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.3784, allocations: 0.5173 MB / 1.353 GB, free: 8.328 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006065/0.379, allocations: 247 kB / 1.353 GB, free: 8.086 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006532/0.3796, allocations: 235.5 kB / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001974/0.3816, allocations: 1.676 MB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.3836, allocations: 1.272 MB / 1.356 GB, free: 4.867 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.385, allocations: 0.7949 MB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.3865, allocations: 0.9857 MB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.3867, allocations: 192 kB / 1.358 GB, free: 2.895 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006157/0.3874, allocations: 303.8 kB / 1.358 GB, free: 2.598 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008386/0.3882, allocations: 0.764 MB / 1.359 GB, free: 1.832 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007195/0.3889, allocations: 0.5723 MB / 1.36 GB, free: 1.258 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.3916, allocations: 2.68 MB / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.3916, allocations: 4 kB / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3916, allocations: 0 / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.901e-05/0.3917, allocations: 0 / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.002613/0.3943, allocations: 1.317 MB / 1.363 GB, free: 13.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.3943, allocations: 8.031 kB / 1.363 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.992e-05/0.3944, allocations: 34.69 kB / 1.363 GB, free: 13.17 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002854/0.3947, allocations: 206.3 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.3962, allocations: 311.9 kB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.3976, allocations: 0.6806 MB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.3977, allocations: 94.86 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.3979, allocations: 124.4 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00366/0.4016, allocations: 2.133 MB / 1.367 GB, free: 9.559 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.4016, allocations: 0 / 1.367 GB, free: 9.559 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.4018, allocations: 52 kB / 1.367 GB, free: 9.508 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-05/0.4018, allocations: 58 kB / 1.367 GB, free: 9.449 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003043/0.4049, allocations: 1.87 MB / 1.369 GB, free: 7.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008697/0.4136, allocations: 5.727 MB / 1.374 GB, free: 1.578 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.4138, allocations: 126.3 kB / 1.375 GB, free: 1.418 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.4139, allocations: 75.52 kB / 1.375 GB, free: 1.332 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-05/0.414, allocations: 19.98 kB / 1.375 GB, free: 1.312 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.414, allocations: 34.56 kB / 1.375 GB, free: 1.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 2.835e-06/0.414, allocations: 0 / 1.375 GB, free: 1.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006009/0.4146, allocations: 273 kB / 1.375 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/0.4147, allocations: 136.5 kB / 1.375 GB, free: 0.832 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.4159, allocations: 0.9086 MB / 1.376 GB, free: 15.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.4159, allocations: 30.08 kB / 1.376 GB, free: 15.87 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006758/0.4166, allocations: 0.801 MB / 1.377 GB, free: 15.06 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.4167, allocations: 51.72 kB / 1.377 GB, free: 15.01 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004091/0.4171, allocations: 270.7 kB / 1.377 GB, free: 14.74 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002482/0.4173, allocations: 374.7 kB / 1.377 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/0.4179, allocations: 426.3 kB / 1.378 GB, free: 13.95 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.4192, allocations: 1.161 MB / 1.379 GB, free: 12.42 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.4211, allocations: 1.598 MB / 1.381 GB, free: 10.45 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/0.4211, allocations: 12 kB / 1.381 GB, free: 10.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002389/0.4235, allocations: 1.543 MB / 1.382 GB, free: 8.895 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.4235, allocations: 16 kB / 1.382 GB, free: 8.879 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/0.4235, allocations: 32.16 kB / 1.382 GB, free: 8.848 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.792e-05/0.4236, allocations: 35.94 kB / 1.382 GB, free: 8.812 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008192/0.4244, allocations: 283.5 kB / 1.382 GB, free: 8.535 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.981e-05/0.4245, allocations: 51.8 kB / 1.382 GB, free: 8.484 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008107/0.4253, allocations: 194.7 kB / 1.383 GB, free: 8.293 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.4254, allocations: 75.98 kB / 1.383 GB, free: 8.219 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (147): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008295/0.4262, allocations: 0.6374 MB / 1.383 GB, free: 7.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.4264, allocations: 59.67 kB / 1.383 GB, free: 7.512 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.4266, allocations: 133.7 kB / 1.384 GB, free: 7.359 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4266, allocations: 0 / 1.384 GB, free: 7.359 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.4266, allocations: 4.25 kB / 1.384 GB, free: 7.355 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4267, allocations: 0 / 1.384 GB, free: 7.355 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.4277, allocations: 0.7189 MB / 1.384 GB, free: 6.594 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.4277, allocations: 4 kB / 1.384 GB, free: 6.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.4277, allocations: 8 kB / 1.384 GB, free: 6.582 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4277, allocations: 0 / 1.384 GB, free: 6.582 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.4278, allocations: 0 / 1.384 GB, free: 6.582 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4278, allocations: 4 kB / 1.384 GB, free: 6.578 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4278, allocations: 0 / 1.384 GB, free: 6.578 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.4281, allocations: 373.6 kB / 1.385 GB, free: 6.195 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.4282, allocations: 59.66 kB / 1.385 GB, free: 6.137 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.627e-05/0.4283, allocations: 0 / 1.385 GB, free: 6.137 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.4285, allocations: 15.97 kB / 1.385 GB, free: 6.121 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.4285, allocations: 4 kB / 1.385 GB, free: 6.117 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.4285, allocations: 0 / 1.385 GB, free: 6.117 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008448/0.4294, allocations: 0.6473 MB / 1.385 GB, free: 5.473 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4294, allocations: 0 / 1.385 GB, free: 5.473 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001089/0.4305, allocations: 279.2 kB / 1.386 GB, free: 5.199 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006738/0.4311, allocations: 0.9138 MB / 1.386 GB, free: 4.254 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.4322, allocations: 0.6931 MB / 1.387 GB, free: 3.566 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4322, allocations: 0 / 1.387 GB, free: 3.566 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.88e-05/0.4322, allocations: 19.92 kB / 1.387 GB, free: 3.547 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.4328, allocations: 48.3 kB / 1.387 GB, free: 3.496 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.4432, allocations: 8.117 MB / 1.395 GB, free: 10.54 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008743/0.4441, allocations: 0.6805 MB / 1.396 GB, free: 9.832 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000751/0.4448, allocations: 361.2 kB / 1.396 GB, free: 9.477 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/0.4452, allocations: 291.3 kB / 1.396 GB, free: 9.191 MB / 1.092 GB Notification: Performance of SimCode: time 9.01e-07/0.4452, allocations: 0 / 1.396 GB, free: 9.191 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03993/0.4852, allocations: 14.26 MB / 1.41 GB, free: 11.14 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.62, allocations: 4.828 kB / 1.41 GB, free: 11.14 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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: 19.42653159808833]