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.000766/0.000766, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007656/0.0007656, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.844/0.844, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.744/1.744, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.064e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.004994/0.005015, allocations: 5.212 MB / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002057/0.007072, allocations: 1.668 MB / 1.006 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.007295, allocations: 19.94 kB / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0008951/0.008191, allocations: 0.5211 MB / 1.007 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.008641, allocations: 250.7 kB / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.009083, allocations: 239.3 kB / 1.007 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001166/0.01025, allocations: 1.699 MB / 1.009 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.01167, allocations: 1.26 MB / 1.01 GB, free: 2.559 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.01284, allocations: 1.104 MB / 1.011 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009663/0.01381, allocations: 0.8926 MB / 1.012 GB, free: 0.5586 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.000236/0.01404, allocations: 188 kB / 1.012 GB, free: 384 kB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/0.01448, allocations: 311.7 kB / 1.013 GB, free: 72 kB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0005369/0.01502, allocations: 0.7875 MB / 1.013 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005567/0.01558, allocations: 0.5147 MB / 1.014 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.01734, allocations: 2.716 MB / 1.017 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.01734, allocations: 0 / 1.017 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.483e-06/0.01734, allocations: 0 / 1.017 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.726e-05/0.0174, allocations: 0 / 1.017 GB, free: 12.04 MB / 0.9792 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.002366/0.01977, allocations: 1.306 MB / 1.018 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.01981, allocations: 12.69 kB / 1.018 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002382/0.02005, allocations: 210.3 kB / 1.018 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008647/0.02091, allocations: 307.9 kB / 1.018 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008745/0.02179, allocations: 0.6838 MB / 1.019 GB, free: 9.465 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.066e-05/0.02185, allocations: 94.88 kB / 1.019 GB, free: 9.371 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.022, allocations: 116.4 kB / 1.019 GB, free: 9.258 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.02439, allocations: 2.137 MB / 1.021 GB, free: 7.078 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.02441, allocations: 192 / 1.021 GB, free: 7.078 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.512e-05/0.02449, allocations: 52.12 kB / 1.021 GB, free: 7.027 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.529e-05/0.02455, allocations: 58.06 kB / 1.021 GB, free: 6.969 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.02657, allocations: 1.87 MB / 1.023 GB, free: 5.09 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005596/0.03217, allocations: 5.729 MB / 1.029 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.03229, allocations: 126.4 kB / 1.029 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.781e-05/0.03236, allocations: 83.5 kB / 1.029 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.756e-05/0.03242, allocations: 11.94 kB / 1.029 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.03245, allocations: 46.42 kB / 1.029 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.03245, allocations: 0 / 1.029 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of matching and sorting (n=9): time 0.0004042/0.03286, allocations: 269.2 kB / 1.029 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.03291, allocations: 136.4 kB / 1.03 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008908/0.0338, allocations: 0.963 MB / 1.03 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.03381, allocations: 33.7 kB / 1.03 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.03414, allocations: 0.7894 MB / 1.031 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.03417, allocations: 55.66 kB / 1.031 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.03439, allocations: 262.7 kB / 1.032 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.0345, allocations: 374.8 kB / 1.032 GB, free: 11.83 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.03487, allocations: 426.3 kB / 1.032 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006574/0.03553, allocations: 1.165 MB / 1.033 GB, free: 9.883 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.03657, allocations: 1.593 MB / 1.035 GB, free: 7.918 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.03658, allocations: 8 kB / 1.035 GB, free: 7.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00142/0.038, allocations: 1.547 MB / 1.037 GB, free: 6.359 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.03803, allocations: 20.06 kB / 1.037 GB, free: 6.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.03805, allocations: 28 kB / 1.037 GB, free: 6.312 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.501e-05/0.03809, allocations: 36 kB / 1.037 GB, free: 6.277 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.03871, allocations: 283.4 kB / 1.037 GB, free: 6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.943e-05/0.03874, allocations: 51.8 kB / 1.037 GB, free: 5.949 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/0.03926, allocations: 198.7 kB / 1.037 GB, free: 5.754 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.03932, allocations: 71.98 kB / 1.037 GB, free: 5.684 MB / 0.9948 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.0005574/0.03987, allocations: 0.6336 MB / 1.038 GB, free: 5.039 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.04, allocations: 67.56 kB / 1.038 GB, free: 4.973 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.04019, allocations: 134 kB / 1.038 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.0402, allocations: 4 kB / 1.038 GB, free: 4.816 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.0402, allocations: 0 / 1.038 GB, free: 4.816 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.04021, allocations: 0 / 1.038 GB, free: 4.816 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007119/0.04092, allocations: 0.7189 MB / 1.039 GB, free: 4.055 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.04092, allocations: 4 kB / 1.039 GB, free: 4.051 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.04095, allocations: 7.938 kB / 1.039 GB, free: 4.043 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.04095, allocations: 3.938 kB / 1.039 GB, free: 4.039 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.04096, allocations: 4 kB / 1.039 GB, free: 4.035 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.04096, allocations: 0 / 1.039 GB, free: 4.035 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.04096, allocations: 0 / 1.039 GB, free: 4.035 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.04115, allocations: 365.7 kB / 1.039 GB, free: 3.66 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.04123, allocations: 63.59 kB / 1.039 GB, free: 3.598 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.04126, allocations: 4 kB / 1.039 GB, free: 3.594 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.04141, allocations: 11.98 kB / 1.039 GB, free: 3.582 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.04143, allocations: 7.984 kB / 1.039 GB, free: 3.574 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.04143, allocations: 3.938 kB / 1.039 GB, free: 3.57 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004999/0.04193, allocations: 0.6434 MB / 1.04 GB, free: 2.922 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2e-07/0.04193, allocations: 0 / 1.04 GB, free: 2.922 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007158/0.04265, allocations: 279.3 kB / 1.04 GB, free: 2.648 MB / 0.9948 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.0004286/0.04308, allocations: 0.9059 MB / 1.041 GB, free: 1.715 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000671/0.04375, allocations: 0.6925 MB / 1.042 GB, free: 1.027 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.04375, allocations: 4 kB / 1.042 GB, free: 1.023 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.626e-05/0.04377, allocations: 16.73 kB / 1.042 GB, free: 1.008 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.04416, allocations: 49.16 kB / 1.042 GB, free: 0.9609 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006609/0.05077, allocations: 8.056 MB / 1.05 GB, free: 8.055 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006728/0.05144, allocations: 0.6844 MB / 1.05 GB, free: 7.344 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004541/0.05189, allocations: 361.2 kB / 1.051 GB, free: 6.988 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.05213, allocations: 288.4 kB / 1.051 GB, free: 6.707 MB / 1.01 GB Notification: Performance of SimCode: time 1.253e-06/0.05213, allocations: 4 kB / 1.051 GB, free: 6.703 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4101/0.4622, allocations: 14.05 MB / 1.065 GB, free: 93.48 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.06/7.523, allocations: 6.266 kB / 1.065 GB, free: 93.48 MB / 1.01 GB " [Timeout remaining time 292] (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/jenkins/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: 11.526127028279006]