Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_10_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.005249/0.005249, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001242/0.001242, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2847, allocations: 151.6 MB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007007/0.2917, allocations: 5.206 MB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002541/0.2943, allocations: 1.687 MB / 1.173 GB, free: 436 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.2945, allocations: 12 kB / 1.173 GB, free: 424 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.2958, allocations: 0.5251 MB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004372/0.2962, allocations: 247 kB / 1.174 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.2967, allocations: 235.5 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001395/0.2981, allocations: 1.68 MB / 1.176 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002411/0.3005, allocations: 2.528 MB / 1.178 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008404/0.3014, allocations: 0.7794 MB / 1.179 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009808/0.3024, allocations: 0.9273 MB / 1.18 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.3026, allocations: 188 kB / 1.18 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000518/0.3031, allocations: 319.7 kB / 1.18 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006091/0.3037, allocations: 0.737 MB / 1.181 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006417/0.3044, allocations: 0.7083 MB / 1.182 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.3065, allocations: 2.66 MB / 1.184 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3065, allocations: 0 / 1.184 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3065, allocations: 4 kB / 1.184 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.871e-05/0.3066, allocations: 4 kB / 1.184 GB, free: 4.836 MB / 0.9356 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.002353/0.3089, allocations: 1.389 MB / 1.186 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.309, allocations: 8.031 kB / 1.186 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002391/0.3092, allocations: 206.3 kB / 1.186 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.3106, allocations: 307.9 kB / 1.186 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.3118, allocations: 0.7253 MB / 1.187 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.971e-05/0.3119, allocations: 90.88 kB / 1.187 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.3121, allocations: 120.4 kB / 1.187 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/0.315, allocations: 2.141 MB / 1.189 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.315, allocations: 3.938 kB / 1.189 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.3152, allocations: 52 kB / 1.189 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.197e-05/0.3152, allocations: 54.06 kB / 1.189 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.3177, allocations: 1.872 MB / 1.191 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007743/0.3255, allocations: 7.683 MB / 1.198 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3256, allocations: 130.4 kB / 1.199 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.845e-05/0.3257, allocations: 75.52 kB / 1.199 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.3259, allocations: 93.08 kB / 1.199 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.3259, allocations: 42.5 kB / 1.199 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3259, allocations: 0 / 1.199 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0004982/0.3264, allocations: 277 kB / 1.199 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.3265, allocations: 132.5 kB / 1.199 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009585/0.3274, allocations: 0.9124 MB / 1.2 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.3275, allocations: 25.7 kB / 1.2 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/0.3279, allocations: 0.7898 MB / 1.201 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.3279, allocations: 67.69 kB / 1.201 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/0.3283, allocations: 266.7 kB / 1.201 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3284, allocations: 370.8 kB / 1.202 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.3289, allocations: 426.3 kB / 1.202 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009192/0.3299, allocations: 1.165 MB / 1.203 GB, free: 176 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.3313, allocations: 1.598 MB / 1.205 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.3313, allocations: 8 kB / 1.205 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00193/0.3332, allocations: 1.543 MB / 1.206 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.3333, allocations: 19.94 kB / 1.206 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.3333, allocations: 28 kB / 1.206 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.669e-05/0.3333, allocations: 36 kB / 1.206 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007481/0.3341, allocations: 283.5 kB / 1.206 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-05/0.3342, allocations: 51.8 kB / 1.207 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/0.3349, allocations: 199 kB / 1.207 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.888e-05/0.335, allocations: 79.98 kB / 1.207 GB, free: 11.96 MB / 0.9669 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.00063/0.3356, allocations: 0.6335 MB / 1.207 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.3357, allocations: 55.92 kB / 1.207 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.336, allocations: 133.7 kB / 1.208 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.336, allocations: 11.94 kB / 1.208 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.336, allocations: 3.984 kB / 1.208 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.336, allocations: 0 / 1.208 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009264/0.3369, allocations: 0.7666 MB / 1.208 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3369, allocations: 4 kB / 1.208 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.337, allocations: 7.938 kB / 1.208 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.337, allocations: 0 / 1.208 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.337, allocations: 0 / 1.208 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.337, allocations: 7.984 kB / 1.208 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.337, allocations: 3.938 kB / 1.208 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.3373, allocations: 377.6 kB / 1.209 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.3374, allocations: 124.8 kB / 1.209 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.3375, allocations: 7.984 kB / 1.209 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.3377, allocations: 11.98 kB / 1.209 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.3378, allocations: 4 kB / 1.209 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.3378, allocations: 4 kB / 1.209 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007103/0.3385, allocations: 0.6434 MB / 1.21 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3385, allocations: 0 / 1.21 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000965/0.3395, allocations: 287.2 kB / 1.21 GB, free: 8.777 MB / 0.9669 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.0004891/0.34, allocations: 0.906 MB / 1.211 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009001/0.3409, allocations: 0.7199 MB / 1.211 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3409, allocations: 0 / 1.211 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.3409, allocations: 15.98 kB / 1.211 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.3414, allocations: 42.94 kB / 1.211 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009084/0.3505, allocations: 8.096 MB / 1.219 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.3516, allocations: 1.284 MB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006819/0.3523, allocations: 369.3 kB / 1.221 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.3526, allocations: 283.3 kB / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of SimCode: time 1.202e-06/0.3527, allocations: 0 / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.3844, allocations: 13.8 MB / 1.235 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.336, allocations: 10.62 kB / 1.235 GB, free: 14.54 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches