Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_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.007427/0.007427, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001944/0.001944, allocations: 192.9 kB / 16.68 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.69/2.69, allocations: 482.4 MB / 0.7548 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 71.77 kB / 1.083 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2869, allocations: 162.2 MB / 1.241 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006347/0.2933, allocations: 4.898 MB / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004005/0.2973, allocations: 2.483 MB / 1.249 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.2976, allocations: 27.75 kB / 1.249 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.2987, allocations: 405.2 kB / 1.249 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008909/0.2996, allocations: 445.6 kB / 1.249 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008171/0.3005, allocations: 395.2 kB / 1.25 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009522/0.3014, allocations: 0.9251 MB / 1.251 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005088/0.3019, allocations: 358.8 kB / 1.251 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.3023, allocations: 342.6 kB / 1.251 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004351/0.3028, allocations: 350.5 kB / 1.252 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.512e-05/0.3029, allocations: 40 kB / 1.252 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006401/0.3035, allocations: 399.1 kB / 1.252 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.3037, allocations: 187.4 kB / 1.252 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.304, allocations: 310.3 kB / 1.253 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.305, allocations: 0.8986 MB / 1.254 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3051, allocations: 4 kB / 1.254 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3051, allocations: 0 / 1.254 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.3051, allocations: 0 / 1.254 GB, free: 12.96 MB / 0.9825 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.001393/0.3065, allocations: 0.9649 MB / 1.254 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3065, allocations: 8.031 kB / 1.254 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.3066, allocations: 98.69 kB / 1.255 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.3079, allocations: 216.1 kB / 1.255 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007742/0.3086, allocations: 0.5495 MB / 1.255 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.3087, allocations: 37.34 kB / 1.255 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.368e-05/0.3088, allocations: 44.38 kB / 1.255 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.3099, allocations: 0.8484 MB / 1.256 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.3099, allocations: 3.938 kB / 1.256 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.31, allocations: 27.92 kB / 1.256 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.015e-05/0.3101, allocations: 72.95 kB / 1.256 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008228/0.3109, allocations: 0.5578 MB / 1.257 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004465/0.3154, allocations: 5.659 MB / 1.262 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006546/0.316, allocations: 450.3 kB / 1.263 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.3164, allocations: 236.7 kB / 1.263 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.3164, allocations: 4 kB / 1.263 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.3164, allocations: 31.09 kB / 1.263 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.3165, allocations: 0 / 1.263 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002522/0.319, allocations: 1.512 MB / 1.265 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.319, allocations: 59.69 kB / 1.265 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/0.3196, allocations: 0.503 MB / 1.265 GB, free: 320 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3196, allocations: 29.7 kB / 1.265 GB, free: 284 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.3199, allocations: 371.9 kB / 1.266 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.905e-05/0.32, allocations: 123 kB / 1.266 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.3202, allocations: 110.2 kB / 1.266 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3203, allocations: 366.8 kB / 1.266 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.3206, allocations: 205.1 kB / 1.266 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004737/0.3211, allocations: 443.3 kB / 1.267 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008406/0.322, allocations: 0.6918 MB / 1.267 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.322, allocations: 4 kB / 1.267 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00127/0.3233, allocations: 0.8094 MB / 1.268 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3233, allocations: 8 kB / 1.268 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.3233, allocations: 11.94 kB / 1.268 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005056/0.3238, allocations: 156.8 kB / 1.268 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.3243, allocations: 123.8 kB / 1.268 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/0.3278, allocations: 4.356 MB / 1.273 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/0.3282, allocations: 31.97 kB / 1.273 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.3283, allocations: 36.16 kB / 1.273 GB, free: 7.766 MB / 0.9981 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.0002608/0.3285, allocations: 213.5 kB / 1.273 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.3286, allocations: 63.62 kB / 1.273 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.3297, allocations: 0.6009 MB / 1.274 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.3297, allocations: 0 / 1.274 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3297, allocations: 4 kB / 1.274 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3297, allocations: 3.984 kB / 1.274 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.3316, allocations: 1.27 MB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3316, allocations: 4 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.3319, allocations: 55.89 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004089/0.3323, allocations: 144.3 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.3323, allocations: 12 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003292/0.3356, allocations: 4.329 MB / 1.279 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.3356, allocations: 4.031 kB / 1.279 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3366, allocations: 0.7204 MB / 1.28 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.3369, allocations: 164.7 kB / 1.28 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.3369, allocations: 11.98 kB / 1.28 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.3372, allocations: 23.91 kB / 1.28 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.3373, allocations: 35.84 kB / 1.28 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.3373, allocations: 12 kB / 1.28 GB, free: 15.47 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000359/0.3376, allocations: 338.8 kB / 1.281 GB, free: 15.14 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3377, allocations: 7.938 kB / 1.281 GB, free: 15.14 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005949/0.3383, allocations: 144 kB / 1.281 GB, free: 15 MB / 1.014 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.001292/0.3395, allocations: 1.261 MB / 1.282 GB, free: 13.67 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.341, allocations: 1.036 MB / 1.283 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/0.341, allocations: 4 kB / 1.283 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008469/0.3419, allocations: 0.7384 MB / 1.284 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000944/0.3428, allocations: 210.2 kB / 1.284 GB, free: 11.53 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006217/0.349, allocations: 5.154 MB / 1.289 GB, free: 5.988 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.3496, allocations: 0.9137 MB / 1.29 GB, free: 5.047 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00031/0.3499, allocations: 113.3 kB / 1.29 GB, free: 4.934 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.3502, allocations: 195.4 kB / 1.29 GB, free: 4.742 MB / 1.014 GB Notification: Performance of SimCode: time 6.71e-07/0.3502, allocations: 0 / 1.29 GB, free: 4.742 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04247/0.3926, allocations: 12.86 MB / 1.303 GB, free: 8.168 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.996/10.39, allocations: 9.062 kB / 1.303 GB, free: 8.164 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches