Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_10_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.007003/0.007003, allocations: 96.22 kB / 15.73 MB, free: 6.043 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.001789/0.001789, allocations: 195.2 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.507/2.507, allocations: 437.1 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.89 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2435, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005634/0.2492, allocations: 4.851 MB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003555/0.2528, allocations: 2.451 MB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.2532, allocations: 23.86 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.2543, allocations: 409.4 kB / 1.174 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009365/0.2552, allocations: 465.7 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007697/0.256, allocations: 379.2 kB / 1.175 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009088/0.2569, allocations: 0.9056 MB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004807/0.2574, allocations: 358.7 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003852/0.2578, allocations: 346.6 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003669/0.2582, allocations: 342.5 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.469e-05/0.2583, allocations: 40 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005911/0.2589, allocations: 403.1 kB / 1.177 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.259, allocations: 183.4 kB / 1.177 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.2593, allocations: 314.2 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008291/0.2601, allocations: 0.8909 MB / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2601, allocations: 0 / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2602, allocations: 7.938 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.2602, allocations: 0 / 1.178 GB, free: 10.98 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.001219/0.2614, allocations: 0.9571 MB / 1.179 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2614, allocations: 12.03 kB / 1.179 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.572e-05/0.2615, allocations: 94.69 kB / 1.179 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.2627, allocations: 208.2 kB / 1.179 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007461/0.2635, allocations: 0.53 MB / 1.18 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.2635, allocations: 33.36 kB / 1.18 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.898e-05/0.2636, allocations: 48.36 kB / 1.18 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009294/0.2645, allocations: 0.8522 MB / 1.181 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.2645, allocations: 3.938 kB / 1.181 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.2646, allocations: 24 kB / 1.181 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.883e-05/0.2647, allocations: 72.89 kB / 1.181 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007462/0.2654, allocations: 0.5656 MB / 1.181 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/0.2691, allocations: 5.651 MB / 1.187 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/0.2697, allocations: 462.6 kB / 1.187 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.27, allocations: 228.7 kB / 1.188 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.27, allocations: 4 kB / 1.188 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.27, allocations: 34.56 kB / 1.188 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 1.724e-06/0.27, allocations: 0 / 1.188 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002301/0.2723, allocations: 1.517 MB / 1.189 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.2724, allocations: 55.69 kB / 1.189 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/0.2728, allocations: 499 kB / 1.19 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.2729, allocations: 29.7 kB / 1.19 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.2731, allocations: 363.7 kB / 1.19 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.551e-05/0.2732, allocations: 130.9 kB / 1.19 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.2733, allocations: 110.2 kB / 1.19 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2734, allocations: 358.8 kB / 1.191 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.2737, allocations: 201.2 kB / 1.191 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.2741, allocations: 447.3 kB / 1.191 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007091/0.2748, allocations: 0.6877 MB / 1.192 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2748, allocations: 4 kB / 1.192 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00113/0.276, allocations: 0.813 MB / 1.193 GB, free: 11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.276, allocations: 11.94 kB / 1.193 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.276, allocations: 12.84 kB / 1.193 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004519/0.2765, allocations: 152.1 kB / 1.193 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.2769, allocations: 123.8 kB / 1.193 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/0.2798, allocations: 4.348 MB / 1.197 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.2802, allocations: 44.12 kB / 1.197 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.2802, allocations: 28 kB / 1.197 GB, free: 5.848 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.0002451/0.2805, allocations: 210.3 kB / 1.198 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-05/0.2806, allocations: 63.58 kB / 1.198 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009579/0.2815, allocations: 0.601 MB / 1.198 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2815, allocations: 7.938 kB / 1.198 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2816, allocations: 4 kB / 1.198 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2816, allocations: 0 / 1.198 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.2832, allocations: 1.258 MB / 1.199 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2832, allocations: 4 kB / 1.199 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.2835, allocations: 51.95 kB / 1.199 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003836/0.2839, allocations: 148.3 kB / 1.2 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.2839, allocations: 11.94 kB / 1.2 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00278/0.2867, allocations: 4.329 MB / 1.204 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2867, allocations: 4 kB / 1.204 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008723/0.2876, allocations: 0.7158 MB / 1.205 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.2878, allocations: 180.6 kB / 1.205 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.2879, allocations: 8 kB / 1.205 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.2882, allocations: 27.97 kB / 1.205 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.2882, allocations: 27.91 kB / 1.205 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.2883, allocations: 12 kB / 1.205 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003051/0.2886, allocations: 334.8 kB / 1.205 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2886, allocations: 0 / 1.205 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005799/0.2892, allocations: 144 kB / 1.205 GB, free: 13.1 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.00112/0.2903, allocations: 1.266 MB / 1.207 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.2915, allocations: 1.044 MB / 1.208 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2916, allocations: 0 / 1.208 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007514/0.2923, allocations: 0.7387 MB / 1.208 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009299/0.2932, allocations: 205.9 kB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005442/0.2987, allocations: 5.104 MB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.2991, allocations: 0.9058 MB / 1.214 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002793/0.2994, allocations: 121.3 kB / 1.214 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.2996, allocations: 195.4 kB / 1.215 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.2996, allocations: 0 / 1.215 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.3337, allocations: 12.7 MB / 1.227 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.884/10.22, allocations: 13.14 kB / 1.227 GB, free: 6.43 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_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_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches