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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006961/0.006967, allocations: 99.44 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 193.6 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.597/2.597, allocations: 469.4 MB / 0.7421 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 64.12 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.314, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006811/0.3208, allocations: 5.216 MB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002595/0.3235, allocations: 1.679 MB / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00032/0.3238, allocations: 16 kB / 1.226 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.3254, allocations: 0.5173 MB / 1.227 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007078/0.3261, allocations: 251 kB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.3267, allocations: 231.5 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.3283, allocations: 1.672 MB / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002951/0.3313, allocations: 2.536 MB / 1.232 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009592/0.3323, allocations: 0.7716 MB / 1.232 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.3336, allocations: 0.9312 MB / 1.233 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004093/0.334, allocations: 188 kB / 1.233 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006805/0.3347, allocations: 315.7 kB / 1.234 GB, free: 292 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008315/0.3355, allocations: 0.7331 MB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.3366, allocations: 0.72 MB / 1.235 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002391/0.339, allocations: 2.66 MB / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.339, allocations: 0 / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.339, allocations: 0 / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.471e-05/0.3391, allocations: 0 / 1.238 GB, free: 12.16 MB / 0.9981 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.002721/0.3418, allocations: 1.389 MB / 1.239 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3419, allocations: 12.03 kB / 1.239 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002361/0.3421, allocations: 210.3 kB / 1.239 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/0.3436, allocations: 311.8 kB / 1.24 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.3449, allocations: 0.7262 MB / 1.24 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/0.345, allocations: 86.88 kB / 1.24 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.3452, allocations: 120.4 kB / 1.24 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00298/0.3482, allocations: 2.145 MB / 1.243 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.3482, allocations: 0 / 1.243 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.3483, allocations: 52 kB / 1.243 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-05/0.3484, allocations: 58.06 kB / 1.243 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/0.3509, allocations: 1.87 MB / 1.245 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6296/0.9805, allocations: 7.676 MB / 1.252 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.9807, allocations: 124 kB / 1.252 GB, free: 25.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.495e-05/0.9808, allocations: 86.25 kB / 1.252 GB, free: 25.89 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.9809, allocations: 91.19 kB / 1.252 GB, free: 25.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.981, allocations: 37.89 kB / 1.252 GB, free: 25.76 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 3.216e-06/0.981, allocations: 1.75 kB / 1.252 GB, free: 25.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0007195/0.9817, allocations: 270.6 kB / 1.253 GB, free: 25.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.9818, allocations: 133.2 kB / 1.253 GB, free: 25.55 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.9833, allocations: 0.9113 MB / 1.254 GB, free: 25.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.9833, allocations: 30.58 kB / 1.254 GB, free: 25.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000521/0.9838, allocations: 0.7928 MB / 1.254 GB, free: 24.92 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/0.9839, allocations: 58.23 kB / 1.254 GB, free: 24.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004165/0.9843, allocations: 274.2 kB / 1.255 GB, free: 24.85 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.9844, allocations: 368.9 kB / 1.255 GB, free: 24.54 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/0.985, allocations: 432.3 kB / 1.256 GB, free: 24.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008773/0.9859, allocations: 1.164 MB / 1.257 GB, free: 23.56 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.9872, allocations: 1.597 MB / 1.258 GB, free: 22.46 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.9872, allocations: 9.062 kB / 1.258 GB, free: 22.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001761/0.989, allocations: 1.538 MB / 1.26 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.989, allocations: 17.47 kB / 1.26 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/0.9891, allocations: 26.38 kB / 1.26 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-05/0.9891, allocations: 36 kB / 1.26 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.9899, allocations: 283.6 kB / 1.26 GB, free: 22.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.374e-05/0.9899, allocations: 56.5 kB / 1.26 GB, free: 22.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007587/0.9907, allocations: 199.3 kB / 1.26 GB, free: 22.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/0.9908, allocations: 69.66 kB / 1.26 GB, free: 22.09 MB / 0.9981 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.0006507/0.9914, allocations: 0.6437 MB / 1.261 GB, free: 21.92 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.9915, allocations: 60.94 kB / 1.261 GB, free: 21.89 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.9918, allocations: 131.9 kB / 1.261 GB, free: 21.83 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.9918, allocations: 2.219 kB / 1.261 GB, free: 21.83 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.9918, allocations: 0 / 1.261 GB, free: 21.83 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.9918, allocations: 2.875 kB / 1.261 GB, free: 21.83 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.9929, allocations: 0.7733 MB / 1.262 GB, free: 21.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.9929, allocations: 2.438 kB / 1.262 GB, free: 21.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.9929, allocations: 5.766 kB / 1.262 GB, free: 21.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.9929, allocations: 2.625 kB / 1.262 GB, free: 21.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.993, allocations: 7.391 kB / 1.262 GB, free: 21.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.993, allocations: 0 / 1.262 GB, free: 21.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.993, allocations: 7.266 kB / 1.262 GB, free: 21.63 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.9932, allocations: 369.4 kB / 1.262 GB, free: 21.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.9933, allocations: 133.8 kB / 1.262 GB, free: 21.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.676e-05/0.9934, allocations: 10.98 kB / 1.262 GB, free: 21.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.9936, allocations: 15.44 kB / 1.262 GB, free: 21.19 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.9937, allocations: 3.281 kB / 1.262 GB, free: 21.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.9937, allocations: 0 / 1.262 GB, free: 21.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006767/0.9944, allocations: 0.6488 MB / 1.263 GB, free: 21.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9944, allocations: 0 / 1.263 GB, free: 21.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009295/0.9953, allocations: 276.4 kB / 1.263 GB, free: 21.04 MB / 0.9981 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.0003609/0.9957, allocations: 0.9098 MB / 1.264 GB, free: 20.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008684/0.9965, allocations: 0.717 MB / 1.265 GB, free: 20.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.9966, allocations: 2.562 kB / 1.265 GB, free: 20.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.763e-05/0.9966, allocations: 19.48 kB / 1.265 GB, free: 20.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.9971, allocations: 43.06 kB / 1.265 GB, free: 20.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.007, allocations: 8.093 MB / 1.273 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.008, allocations: 1.281 MB / 1.274 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007815/1.009, allocations: 363.4 kB / 1.275 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/1.009, allocations: 289.3 kB / 1.275 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/1.009, allocations: 1.625 kB / 1.275 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03541/1.045, allocations: 13.8 MB / 1.288 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/9.155, allocations: 6.656 kB / 1.288 GB, free: 13.52 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.csv","/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) Reference file matches