Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_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.004819/0.004819, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001224/0.001225, allocations: 201.1 kB / 16.68 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002483/0.002483, allocations: 62.84 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3074, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005971/0.3134, allocations: 4.896 MB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003703/0.3172, allocations: 2.491 MB / 1.095 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003651/0.3176, allocations: 31.81 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.3187, allocations: 394.8 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009855/0.3197, allocations: 465.6 kB / 1.096 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000825/0.3206, allocations: 403.4 kB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000836/0.3214, allocations: 0.929 MB / 1.097 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004456/0.3219, allocations: 362.8 kB / 1.097 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.3222, allocations: 350.6 kB / 1.098 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003679/0.3226, allocations: 346.4 kB / 1.098 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.3227, allocations: 40 kB / 1.098 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005761/0.3233, allocations: 399.1 kB / 1.098 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.3234, allocations: 179.5 kB / 1.098 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.3237, allocations: 326.2 kB / 1.099 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008485/0.3246, allocations: 0.887 MB / 1.1 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3246, allocations: 4 kB / 1.1 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3246, allocations: 3.938 kB / 1.1 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.3246, allocations: 0 / 1.1 GB, free: 5.504 MB / 0.8575 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.001259/0.3259, allocations: 0.9726 MB / 1.101 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3259, allocations: 12.03 kB / 1.101 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.346e-05/0.326, allocations: 90.69 kB / 1.101 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.3273, allocations: 204.2 kB / 1.101 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/0.3281, allocations: 0.5573 MB / 1.101 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.3281, allocations: 41.36 kB / 1.101 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/0.3282, allocations: 44.36 kB / 1.101 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.3292, allocations: 0.8485 MB / 1.102 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.3293, allocations: 3.938 kB / 1.102 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.3293, allocations: 24 kB / 1.102 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.319e-05/0.3294, allocations: 68.94 kB / 1.102 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/0.3302, allocations: 0.5616 MB / 1.103 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003777/0.334, allocations: 5.651 MB / 1.108 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005705/0.3346, allocations: 455.7 kB / 1.109 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.3349, allocations: 228.7 kB / 1.109 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3349, allocations: 4 kB / 1.109 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3349, allocations: 47.08 kB / 1.109 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.3349, allocations: 0 / 1.109 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002317/0.3372, allocations: 1.517 MB / 1.111 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.3373, allocations: 51.69 kB / 1.111 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.3378, allocations: 0.5029 MB / 1.111 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.3378, allocations: 37.7 kB / 1.111 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.338, allocations: 367.8 kB / 1.112 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/0.3381, allocations: 126.9 kB / 1.112 GB, free: 8.328 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.3382, allocations: 114.2 kB / 1.112 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3384, allocations: 366.8 kB / 1.112 GB, free: 7.844 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.3386, allocations: 197.2 kB / 1.112 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.339, allocations: 447 kB / 1.113 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007325/0.3398, allocations: 0.6915 MB / 1.113 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.3398, allocations: 4 kB / 1.113 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001171/0.341, allocations: 0.8098 MB / 1.114 GB, free: 5.453 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.341, allocations: 12.19 kB / 1.114 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.341, allocations: 8 kB / 1.114 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004605/0.3415, allocations: 152.1 kB / 1.114 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/0.3419, allocations: 127.7 kB / 1.115 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.3448, allocations: 4.336 MB / 1.119 GB, free: 400 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.3452, allocations: 39.97 kB / 1.119 GB, free: 360 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.3452, allocations: 24 kB / 1.119 GB, free: 336 kB / 0.8731 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.000216/0.3455, allocations: 221.5 kB / 1.119 GB, free: 104 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.3456, allocations: 67.58 kB / 1.119 GB, free: 36 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009478/0.3465, allocations: 0.6008 MB / 1.12 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3465, allocations: 7.984 kB / 1.12 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3465, allocations: 0 / 1.12 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3465, allocations: 3.984 kB / 1.12 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.3482, allocations: 1.265 MB / 1.121 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3482, allocations: 4 kB / 1.121 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.3485, allocations: 51.89 kB / 1.121 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003882/0.3489, allocations: 148.4 kB / 1.121 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.3489, allocations: 7.938 kB / 1.121 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/0.3517, allocations: 4.332 MB / 1.125 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3517, allocations: 4.031 kB / 1.125 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009004/0.3526, allocations: 0.7162 MB / 1.126 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.3528, allocations: 176.6 kB / 1.126 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.473e-05/0.3529, allocations: 8 kB / 1.126 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.3532, allocations: 19.97 kB / 1.126 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.3532, allocations: 39.84 kB / 1.126 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.3533, allocations: 12 kB / 1.126 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003165/0.3536, allocations: 334.8 kB / 1.127 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3536, allocations: 0 / 1.127 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005754/0.3542, allocations: 144 kB / 1.127 GB, free: 7.559 MB / 0.8887 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.001139/0.3553, allocations: 1.261 MB / 1.128 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.3566, allocations: 1.036 MB / 1.129 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3566, allocations: 4.875 kB / 1.129 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007701/0.3574, allocations: 0.7347 MB / 1.13 GB, free: 4.293 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009474/0.3583, allocations: 208 kB / 1.13 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005546/0.3639, allocations: 5.169 MB / 1.135 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.3643, allocations: 0.9098 MB / 1.136 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003015/0.3646, allocations: 121.2 kB / 1.136 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.3648, allocations: 195.4 kB / 1.136 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.3649, allocations: 0 / 1.136 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.4002, allocations: 12.85 MB / 1.149 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.52, allocations: 18.2 kB / 1.149 GB, free: 0.668 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches