Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.004477/0.004477, allocations: 101 kB / 15.73 MB, free: 5.555 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.001223/0.001223, allocations: 196.5 kB / 16.68 MB, free: 5.484 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 68.11 kB / 1.065 GB, free: 13.6 MB / 0.8263 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2698, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007237/0.2771, allocations: 4.857 MB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004144/0.2813, allocations: 2.455 MB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.2817, allocations: 23.81 kB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.2829, allocations: 401.9 kB / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009781/0.2839, allocations: 449.7 kB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008086/0.2847, allocations: 370.5 kB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.2858, allocations: 0.9173 MB / 1.229 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005476/0.2864, allocations: 358.5 kB / 1.23 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004782/0.2868, allocations: 338.7 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004898/0.2873, allocations: 346.4 kB / 1.23 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.629e-05/0.2874, allocations: 40 kB / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006679/0.2881, allocations: 399.1 kB / 1.231 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.2883, allocations: 179.5 kB / 1.231 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.2886, allocations: 318.3 kB / 1.231 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.2898, allocations: 0.8909 MB / 1.232 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2898, allocations: 0 / 1.232 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2898, allocations: 0 / 1.232 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.2898, allocations: 0 / 1.232 GB, free: 2.008 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.001466/0.2913, allocations: 0.9533 MB / 1.233 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2913, allocations: 8.031 kB / 1.233 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.2914, allocations: 94.69 kB / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.2927, allocations: 212.1 kB / 1.233 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007982/0.2935, allocations: 0.5378 MB / 1.234 GB, free: 116 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.2935, allocations: 37.38 kB / 1.234 GB, free: 80 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.596e-05/0.2936, allocations: 48.3 kB / 1.234 GB, free: 32 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.2948, allocations: 0.8446 MB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.2948, allocations: 7.938 kB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/0.2949, allocations: 23.98 kB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.302e-05/0.295, allocations: 68.89 kB / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008817/0.2959, allocations: 0.5578 MB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004644/0.3005, allocations: 5.655 MB / 1.241 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/0.3012, allocations: 457.2 kB / 1.241 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.3015, allocations: 233.7 kB / 1.242 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3016, allocations: 3.984 kB / 1.242 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.3016, allocations: 42.56 kB / 1.242 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.3016, allocations: 0 / 1.242 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002587/0.3042, allocations: 1.516 MB / 1.243 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.3043, allocations: 55.69 kB / 1.243 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/0.3048, allocations: 499 kB / 1.244 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.3048, allocations: 29.7 kB / 1.244 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.3051, allocations: 363.8 kB / 1.244 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.3052, allocations: 127 kB / 1.244 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.3054, allocations: 110.2 kB / 1.244 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3056, allocations: 366.8 kB / 1.245 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.3059, allocations: 189.2 kB / 1.245 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.3064, allocations: 455.3 kB / 1.245 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008598/0.3072, allocations: 0.6874 MB / 1.246 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.3073, allocations: 4 kB / 1.246 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001323/0.3086, allocations: 0.8064 MB / 1.247 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3086, allocations: 16 kB / 1.247 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.3086, allocations: 8 kB / 1.247 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004972/0.3091, allocations: 156 kB / 1.247 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.3096, allocations: 119.8 kB / 1.247 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4618/0.7714, allocations: 4.343 MB / 1.251 GB, free: 26.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.7719, allocations: 32.61 kB / 1.251 GB, free: 26.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.7719, allocations: 31.38 kB / 1.251 GB, free: 26.38 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.0002273/0.7721, allocations: 211.5 kB / 1.251 GB, free: 26.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.911e-05/0.7722, allocations: 72.23 kB / 1.252 GB, free: 26.26 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009835/0.7732, allocations: 0.594 MB / 1.252 GB, free: 26.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.7732, allocations: 3.844 kB / 1.252 GB, free: 26.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.7732, allocations: 2.938 kB / 1.252 GB, free: 26.18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.7732, allocations: 2.484 kB / 1.252 GB, free: 26.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.7748, allocations: 1.26 MB / 1.253 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7748, allocations: 2.562 kB / 1.253 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.7751, allocations: 53.8 kB / 1.253 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/0.7755, allocations: 144.1 kB / 1.254 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.7755, allocations: 8.594 kB / 1.254 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.7776, allocations: 4.353 MB / 1.258 GB, free: 21.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7776, allocations: 2.188 kB / 1.258 GB, free: 21.69 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000837/0.7785, allocations: 0.7147 MB / 1.259 GB, free: 21.44 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.7786, allocations: 170.5 kB / 1.259 GB, free: 21.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.7787, allocations: 11.42 kB / 1.259 GB, free: 21.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.779, allocations: 20.52 kB / 1.259 GB, free: 21.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.779, allocations: 30.33 kB / 1.259 GB, free: 21.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.7791, allocations: 12.62 kB / 1.259 GB, free: 21.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003147/0.7794, allocations: 329.8 kB / 1.259 GB, free: 21.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.61e-07/0.7794, allocations: 0.8438 kB / 1.259 GB, free: 21.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006135/0.78, allocations: 149.5 kB / 1.259 GB, free: 21.22 MB / 0.9981 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.001025/0.7811, allocations: 1.262 MB / 1.26 GB, free: 20.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.7822, allocations: 1.038 MB / 1.261 GB, free: 19.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7822, allocations: 1.938 kB / 1.261 GB, free: 19.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005895/0.7828, allocations: 0.7405 MB / 1.262 GB, free: 19.31 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008973/0.7837, allocations: 204.9 kB / 1.262 GB, free: 19.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/0.7882, allocations: 5.115 MB / 1.267 GB, free: 16.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.7885, allocations: 0.9042 MB / 1.268 GB, free: 16.13 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002887/0.7888, allocations: 119.3 kB / 1.268 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.789, allocations: 193 kB / 1.269 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.789, allocations: 0 / 1.269 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04425/0.8333, allocations: 12.71 MB / 1.281 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.17, allocations: 6.578 kB / 1.281 GB, free: 15.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_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_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches