Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000807/0.000807, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000809/0.000809, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9076/0.9076, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.684/1.684, allocations: 377.9 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.175e-05, allocations: 8.953 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.005296/0.005317, allocations: 5.211 MB / 0.9861 GB, free: 13.34 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.007478, allocations: 1.672 MB / 0.9877 GB, free: 11.66 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.007636, allocations: 16 kB / 0.9877 GB, free: 11.64 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008656/0.008502, allocations: 0.5289 MB / 0.9882 GB, free: 11.11 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.008863, allocations: 250.6 kB / 0.9885 GB, free: 10.87 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.009211, allocations: 235.3 kB / 0.9887 GB, free: 10.64 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.01035, allocations: 1.699 MB / 0.9903 GB, free: 8.934 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.01157, allocations: 1.26 MB / 0.9916 GB, free: 7.641 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009385/0.01251, allocations: 1.096 MB / 0.9926 GB, free: 6.543 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000905/0.01341, allocations: 0.9081 MB / 0.9935 GB, free: 5.633 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002343/0.01365, allocations: 192 kB / 0.9937 GB, free: 5.445 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.01406, allocations: 311.7 kB / 0.994 GB, free: 5.141 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000478/0.01454, allocations: 0.7874 MB / 0.9948 GB, free: 4.352 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004478/0.01498, allocations: 0.503 MB / 0.9953 GB, free: 3.848 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.01655, allocations: 2.724 MB / 0.9979 GB, free: 1.117 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01655, allocations: 0 / 0.9979 GB, free: 1.117 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.01655, allocations: 0 / 0.9979 GB, free: 1.117 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.911e-05/0.01659, allocations: 0 / 0.9979 GB, free: 1.117 MB / 0.948 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.0017/0.01829, allocations: 1.306 MB / 0.9992 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.01833, allocations: 12.03 kB / 0.9992 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/0.0185, allocations: 198.3 kB / 0.9994 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007968/0.0193, allocations: 311.9 kB / 0.9997 GB, free: 15.25 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007615/0.02006, allocations: 0.6876 MB / 1 GB, free: 14.54 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.02011, allocations: 94.88 kB / 1 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.02023, allocations: 120.4 kB / 1.001 GB, free: 14.33 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.02229, allocations: 2.13 MB / 1.003 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.02231, allocations: 192 / 1.003 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/0.0224, allocations: 56.06 kB / 1.003 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/0.02245, allocations: 54.06 kB / 1.003 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.02444, allocations: 1.87 MB / 1.005 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004762/0.0292, allocations: 5.74 MB / 1.01 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.0293, allocations: 126.4 kB / 1.01 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.288e-05/0.02936, allocations: 83.45 kB / 1.01 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.154e-05/0.02942, allocations: 15.92 kB / 1.01 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.02944, allocations: 38.56 kB / 1.01 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.02944, allocations: 0 / 1.01 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0003471/0.02979, allocations: 273 kB / 1.011 GB, free: 3.574 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/0.02987, allocations: 132.9 kB / 1.011 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000708/0.03058, allocations: 0.9665 MB / 1.012 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.03059, allocations: 25.7 kB / 1.012 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.0309, allocations: 0.7855 MB / 1.013 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.03094, allocations: 63.7 kB / 1.013 GB, free: 1.547 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.03114, allocations: 262.7 kB / 1.013 GB, free: 1.281 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.03124, allocations: 370.8 kB / 1.013 GB, free: 0.9102 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.03161, allocations: 426.2 kB / 1.014 GB, free: 0.4961 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006686/0.03228, allocations: 1.165 MB / 1.015 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.03339, allocations: 1.591 MB / 1.016 GB, free: 13 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.0334, allocations: 8 kB / 1.016 GB, free: 12.99 MB / 0.9792 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001417/0.03482, allocations: 1.556 MB / 1.018 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.03484, allocations: 16 kB / 1.018 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.03486, allocations: 24 kB / 1.018 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/0.03489, allocations: 36 kB / 1.018 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.03533, allocations: 283.7 kB / 1.018 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/0.03536, allocations: 51.78 kB / 1.018 GB, free: 11.03 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.03586, allocations: 206.8 kB / 1.018 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.03591, allocations: 72 kB / 1.019 GB, free: 10.75 MB / 0.9792 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.0004117/0.03632, allocations: 0.6413 MB / 1.019 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.03639, allocations: 59.61 kB / 1.019 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.03656, allocations: 133.8 kB / 1.019 GB, free: 9.895 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.03656, allocations: 0 / 1.019 GB, free: 9.895 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.03657, allocations: 0 / 1.019 GB, free: 9.895 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.03657, allocations: 4 kB / 1.019 GB, free: 9.891 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006285/0.0372, allocations: 0.7189 MB / 1.02 GB, free: 9.129 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.0372, allocations: 0 / 1.02 GB, free: 9.129 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.03722, allocations: 11.94 kB / 1.02 GB, free: 9.117 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.03722, allocations: 0 / 1.02 GB, free: 9.117 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.03723, allocations: 0 / 1.02 GB, free: 9.117 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.03723, allocations: 0 / 1.02 GB, free: 9.117 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.03723, allocations: 4 kB / 1.02 GB, free: 9.113 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.03741, allocations: 369.6 kB / 1.02 GB, free: 8.734 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.03748, allocations: 59.59 kB / 1.02 GB, free: 8.676 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.03752, allocations: 3.938 kB / 1.02 GB, free: 8.672 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.03766, allocations: 15.97 kB / 1.02 GB, free: 8.656 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.03768, allocations: 4 kB / 1.02 GB, free: 8.652 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.03768, allocations: 4 kB / 1.02 GB, free: 8.648 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004828/0.03816, allocations: 0.6434 MB / 1.021 GB, free: 8.004 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.03816, allocations: 0 / 1.021 GB, free: 8.004 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006054/0.03877, allocations: 283.2 kB / 1.021 GB, free: 7.727 MB / 0.9792 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.0003839/0.03915, allocations: 0.9064 MB / 1.022 GB, free: 6.793 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005838/0.03974, allocations: 0.6965 MB / 1.023 GB, free: 6.102 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.03974, allocations: 0.9375 kB / 1.023 GB, free: 6.102 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.03975, allocations: 19.92 kB / 1.023 GB, free: 6.082 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.0401, allocations: 43.19 kB / 1.023 GB, free: 6.043 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006471/0.04657, allocations: 8.044 MB / 1.031 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.04709, allocations: 0.6803 MB / 1.032 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004566/0.04755, allocations: 369.3 kB / 1.032 GB, free: 12.08 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.04778, allocations: 292.4 kB / 1.032 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of SimCode: time 6.71e-07/0.04778, allocations: 0 / 1.032 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.07134, allocations: 14.08 MB / 1.046 GB, free: 13.96 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.082, allocations: 1.719 kB / 1.046 GB, free: 13.96 MB / 1.01 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.52917190361768]