Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_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.007384/0.007384, allocations: 96.7 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.001834/0.001834, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.768/2.768, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003049/0.003049, allocations: 67.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2928, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006631/0.2995, allocations: 4.896 MB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00421/0.3038, allocations: 2.487 MB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000345/0.3041, allocations: 23.81 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.3054, allocations: 401.9 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.3065, allocations: 445.6 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009511/0.3074, allocations: 399.1 kB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.3086, allocations: 0.929 MB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000539/0.3092, allocations: 358.8 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004325/0.3096, allocations: 342.6 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004545/0.3101, allocations: 346.4 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.778e-05/0.3102, allocations: 44 kB / 1.177 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007166/0.3109, allocations: 403.1 kB / 1.177 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.3111, allocations: 183.4 kB / 1.177 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.3114, allocations: 322.2 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.3124, allocations: 0.887 MB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3125, allocations: 0 / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3125, allocations: 4 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.3125, allocations: 0 / 1.178 GB, free: 10.8 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001413/0.3139, allocations: 0.9726 MB / 1.179 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3139, allocations: 8.031 kB / 1.179 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.3141, allocations: 94.69 kB / 1.179 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.3153, allocations: 208.2 kB / 1.18 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008104/0.3161, allocations: 0.5573 MB / 1.18 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.3162, allocations: 33.36 kB / 1.18 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.519e-05/0.3163, allocations: 48.36 kB / 1.18 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.3174, allocations: 0.8444 MB / 1.181 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.3174, allocations: 11.92 kB / 1.181 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/0.3175, allocations: 20 kB / 1.181 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.299e-05/0.3176, allocations: 64.97 kB / 1.181 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008723/0.3185, allocations: 0.5733 MB / 1.182 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004719/0.3232, allocations: 5.647 MB / 1.187 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/0.3239, allocations: 462.1 kB / 1.188 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.3242, allocations: 232.7 kB / 1.188 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.3243, allocations: 4 kB / 1.188 GB, free: 416 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.3243, allocations: 34.56 kB / 1.188 GB, free: 372 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 2.264e-06/0.3243, allocations: 0 / 1.188 GB, free: 372 kB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002655/0.327, allocations: 1.506 MB / 1.189 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.327, allocations: 59.69 kB / 1.189 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.3276, allocations: 0.503 MB / 1.19 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.3276, allocations: 29.7 kB / 1.19 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.3279, allocations: 371.8 kB / 1.19 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.328, allocations: 127 kB / 1.19 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.3282, allocations: 106.2 kB / 1.19 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3284, allocations: 370.7 kB / 1.191 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.3287, allocations: 193.2 kB / 1.191 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004832/0.3292, allocations: 451.3 kB / 1.191 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008781/0.33, allocations: 0.6915 MB / 1.192 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.3301, allocations: 8 kB / 1.192 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001393/0.3315, allocations: 0.8134 MB / 1.193 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3315, allocations: 8 kB / 1.193 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.3315, allocations: 8 kB / 1.193 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/0.332, allocations: 156.5 kB / 1.193 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.3325, allocations: 123.8 kB / 1.193 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003674/0.3362, allocations: 4.344 MB / 1.197 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/0.3366, allocations: 35.97 kB / 1.197 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.3367, allocations: 28 kB / 1.197 GB, free: 5.621 MB / 0.9512 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.0002915/0.337, allocations: 218.4 kB / 1.198 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-05/0.3371, allocations: 67.62 kB / 1.198 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.3382, allocations: 0.6049 MB / 1.198 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3382, allocations: 8 kB / 1.198 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3382, allocations: 4 kB / 1.198 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.3382, allocations: 3.984 kB / 1.198 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.3401, allocations: 1.263 MB / 1.2 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3401, allocations: 4 kB / 1.2 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.3404, allocations: 51.89 kB / 1.2 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/0.3408, allocations: 144.4 kB / 1.2 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.3409, allocations: 11.94 kB / 1.2 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003549/0.3444, allocations: 4.333 MB / 1.204 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3445, allocations: 4.031 kB / 1.204 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.3456, allocations: 0.7157 MB / 1.205 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.3458, allocations: 168.7 kB / 1.205 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.3459, allocations: 12 kB / 1.205 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.3461, allocations: 19.97 kB / 1.205 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.3462, allocations: 39.84 kB / 1.205 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.3463, allocations: 11.94 kB / 1.205 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003984/0.3467, allocations: 338.8 kB / 1.205 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3467, allocations: 0 / 1.205 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006194/0.3473, allocations: 140 kB / 1.205 GB, free: 12.85 MB / 0.9669 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.001355/0.3487, allocations: 1.271 MB / 1.207 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.3502, allocations: 1.04 MB / 1.208 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3502, allocations: 4 kB / 1.208 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009029/0.3511, allocations: 0.7345 MB / 1.208 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009918/0.3521, allocations: 206.3 kB / 1.209 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006724/0.3588, allocations: 5.162 MB / 1.214 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.3594, allocations: 0.9137 MB / 1.215 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000355/0.3598, allocations: 109.3 kB / 1.215 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.36, allocations: 191.4 kB / 1.215 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of SimCode: time 7.62e-07/0.36, allocations: 0 / 1.215 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0452/0.4053, allocations: 12.86 MB / 1.227 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.05, allocations: 11.25 kB / 1.227 GB, free: 6.02 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_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_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches