Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.007407/0.007407, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001928/0.001928, allocations: 198.9 kB / 16.67 MB, free: 5.934 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.626/2.626, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.91 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6591/0.6611, allocations: 159.1 MB / 1.22 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006529/0.6676, allocations: 4.893 MB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004096/0.6717, allocations: 2.491 MB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.6721, allocations: 23.81 kB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.6732, allocations: 412.1 kB / 1.228 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009136/0.6741, allocations: 433.6 kB / 1.228 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008633/0.675, allocations: 406.2 kB / 1.229 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009836/0.676, allocations: 0.9212 MB / 1.229 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005173/0.6765, allocations: 354.5 kB / 1.23 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000404/0.6769, allocations: 342.6 kB / 1.23 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.6774, allocations: 354.4 kB / 1.23 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.592e-05/0.6775, allocations: 36 kB / 1.231 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000665/0.6781, allocations: 395.1 kB / 1.231 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.6783, allocations: 195.4 kB / 1.231 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003116/0.6786, allocations: 322.2 kB / 1.231 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.6797, allocations: 0.8906 MB / 1.232 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6797, allocations: 0 / 1.232 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6797, allocations: 4 kB / 1.232 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.6797, allocations: 0 / 1.232 GB, free: 5.609 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001434/0.6812, allocations: 0.9649 MB / 1.233 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.6812, allocations: 16.62 kB / 1.233 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.6813, allocations: 86.7 kB / 1.233 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.6826, allocations: 212.2 kB / 1.234 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008926/0.6835, allocations: 0.5572 MB / 1.234 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.6835, allocations: 37.36 kB / 1.234 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.6836, allocations: 48.36 kB / 1.234 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.6849, allocations: 0.8485 MB / 1.235 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.6849, allocations: 7.938 kB / 1.235 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.994e-05/0.685, allocations: 20 kB / 1.235 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.6851, allocations: 64.95 kB / 1.235 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000894/0.686, allocations: 0.5656 MB / 1.236 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004944/0.6909, allocations: 5.647 MB / 1.241 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006634/0.6916, allocations: 450.3 kB / 1.242 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.6919, allocations: 225.3 kB / 1.242 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.692, allocations: 4.531 kB / 1.242 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.692, allocations: 46.48 kB / 1.242 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=32): time 2.214e-06/0.692, allocations: 7.938 kB / 1.242 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.002602/0.6946, allocations: 1.516 MB / 1.243 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.6947, allocations: 59.62 kB / 1.243 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.6952, allocations: 0.5029 MB / 1.244 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.6953, allocations: 33.7 kB / 1.244 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.6955, allocations: 363.8 kB / 1.244 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.568e-05/0.6956, allocations: 123 kB / 1.244 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.6958, allocations: 114.2 kB / 1.244 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.696, allocations: 370.8 kB / 1.245 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.6963, allocations: 193.2 kB / 1.245 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.6968, allocations: 443.3 kB / 1.245 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008389/0.6976, allocations: 0.6913 MB / 1.246 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6976, allocations: 4 kB / 1.246 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001283/0.6989, allocations: 0.8139 MB / 1.247 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6989, allocations: 8 kB / 1.247 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.699, allocations: 12.09 kB / 1.247 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000478/0.6994, allocations: 156.1 kB / 1.247 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.6999, allocations: 123.7 kB / 1.247 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/0.7034, allocations: 4.352 MB / 1.251 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.7038, allocations: 31.97 kB / 1.251 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.009e-05/0.7038, allocations: 28 kB / 1.251 GB, free: 440 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002503/0.7041, allocations: 221.4 kB / 1.252 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-05/0.7042, allocations: 63.69 kB / 1.252 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.7053, allocations: 0.597 MB / 1.252 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.7053, allocations: 4 kB / 1.252 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.7053, allocations: 0 / 1.252 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.7053, allocations: 0 / 1.252 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.7071, allocations: 1.265 MB / 1.254 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.7071, allocations: 0 / 1.254 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.7074, allocations: 59.89 kB / 1.254 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000397/0.7078, allocations: 148.3 kB / 1.254 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.7078, allocations: 11.94 kB / 1.254 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00341/0.7112, allocations: 4.329 MB / 1.258 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.7113, allocations: 160 / 1.258 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.7123, allocations: 0.7198 MB / 1.259 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.7125, allocations: 168.7 kB / 1.259 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/0.7126, allocations: 11.98 kB / 1.259 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.7128, allocations: 23.97 kB / 1.259 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.7129, allocations: 31.84 kB / 1.259 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.7129, allocations: 20 kB / 1.259 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003682/0.7133, allocations: 338.8 kB / 1.259 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7133, allocations: 0 / 1.259 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005868/0.7139, allocations: 140 kB / 1.259 GB, free: 7.664 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001347/0.7153, allocations: 1.273 MB / 1.261 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.7167, allocations: 1.044 MB / 1.262 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7167, allocations: 0 / 1.262 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008397/0.7175, allocations: 0.731 MB / 1.262 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009539/0.7185, allocations: 212.1 kB / 1.263 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006199/0.7247, allocations: 5.164 MB / 1.268 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.7252, allocations: 0.9098 MB / 1.269 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003165/0.7256, allocations: 121.3 kB / 1.269 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.7258, allocations: 195.4 kB / 1.269 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.7258, allocations: 0 / 1.269 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04827/0.7741, allocations: 12.86 MB / 1.281 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.82, allocations: 13.59 kB / 1.281 GB, free: 0.8125 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches