Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_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.006826/0.006826, allocations: 97.94 kB / 15.73 MB, free: 6.004 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.001877/0.001877, allocations: 193.1 kB / 16.67 MB, free: 5.934 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.857/2.857, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 56.12 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2739, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006359/0.2803, allocations: 4.851 MB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003817/0.2841, allocations: 2.451 MB / 1.249 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.2844, allocations: 31.69 kB / 1.249 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.2855, allocations: 402 kB / 1.249 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008706/0.2864, allocations: 453.6 kB / 1.249 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007611/0.2871, allocations: 371 kB / 1.25 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009767/0.2881, allocations: 0.9134 MB / 1.251 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005072/0.2886, allocations: 358.5 kB / 1.251 GB, free: 372 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004132/0.2891, allocations: 342.7 kB / 1.251 GB, free: 28 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4992/0.7882, allocations: 338.3 kB / 1.252 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.7884, allocations: 40.14 kB / 1.252 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007166/0.7891, allocations: 400 kB / 1.252 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.7893, allocations: 177.2 kB / 1.252 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.7896, allocations: 323.2 kB / 1.253 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.7907, allocations: 0.8802 MB / 1.253 GB, free: 8 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.7907, allocations: 1.031 kB / 1.253 GB, free: 8 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7907, allocations: 0.6562 kB / 1.253 GB, free: 8 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.24e-05/0.7908, allocations: 0.5938 kB / 1.253 GB, free: 8 MB / 0.9981 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.001305/0.7921, allocations: 0.9625 MB / 1.254 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.7921, allocations: 10.53 kB / 1.254 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.034e-05/0.7922, allocations: 90.03 kB / 1.254 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.7935, allocations: 211.6 kB / 1.255 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007252/0.7942, allocations: 0.5387 MB / 1.255 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.7943, allocations: 35.53 kB / 1.255 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-05/0.7944, allocations: 46.27 kB / 1.255 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.7954, allocations: 0.8427 MB / 1.256 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.7954, allocations: 6.984 kB / 1.256 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.7955, allocations: 29.31 kB / 1.256 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.727e-05/0.7956, allocations: 63.44 kB / 1.256 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008306/0.7964, allocations: 0.5658 MB / 1.257 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/0.8001, allocations: 5.652 MB / 1.262 GB, free: 17.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006077/0.8007, allocations: 452.7 kB / 1.263 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.801, allocations: 224 kB / 1.263 GB, free: 17.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.8011, allocations: 5.672 kB / 1.263 GB, free: 17.95 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.8011, allocations: 45.45 kB / 1.263 GB, free: 17.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.8011, allocations: 0 / 1.263 GB, free: 17.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002499/0.8036, allocations: 1.506 MB / 1.264 GB, free: 17.21 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.8037, allocations: 58.67 kB / 1.264 GB, free: 17.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.8041, allocations: 498 kB / 1.265 GB, free: 16.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.8042, allocations: 31.7 kB / 1.265 GB, free: 16.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.8044, allocations: 364.7 kB / 1.265 GB, free: 16.58 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.8045, allocations: 130 kB / 1.265 GB, free: 16.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.8046, allocations: 111.5 kB / 1.266 GB, free: 16.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.8048, allocations: 365.2 kB / 1.266 GB, free: 16.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.8051, allocations: 195.2 kB / 1.266 GB, free: 16.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.8055, allocations: 452 kB / 1.267 GB, free: 15.63 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.8061, allocations: 0.6826 MB / 1.267 GB, free: 15.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.8061, allocations: 7.406 kB / 1.267 GB, free: 15.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001195/0.8073, allocations: 0.8104 MB / 1.268 GB, free: 14.83 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.8074, allocations: 11.64 kB / 1.268 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.8074, allocations: 9.781 kB / 1.268 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004513/0.8079, allocations: 153.5 kB / 1.268 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.8083, allocations: 122.3 kB / 1.268 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/0.8116, allocations: 4.352 MB / 1.273 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004367/0.812, allocations: 32.55 kB / 1.273 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.8121, allocations: 31.88 kB / 1.273 GB, free: 10.5 MB / 1.014 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.0002662/0.8123, allocations: 219 kB / 1.273 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.8124, allocations: 68.45 kB / 1.273 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009658/0.8134, allocations: 0.5947 MB / 1.273 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.8134, allocations: 3.312 kB / 1.273 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.8134, allocations: 2.406 kB / 1.273 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.8134, allocations: 2.109 kB / 1.273 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.8153, allocations: 1.262 MB / 1.275 GB, free: 9.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.8153, allocations: 0 / 1.275 GB, free: 9.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.8156, allocations: 58.48 kB / 1.275 GB, free: 9.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004127/0.816, allocations: 147.1 kB / 1.275 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.816, allocations: 11.25 kB / 1.275 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003405/0.8194, allocations: 4.323 MB / 1.279 GB, free: 5.023 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.8195, allocations: 8.734 kB / 1.279 GB, free: 5.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.8205, allocations: 0.7122 MB / 1.28 GB, free: 4.602 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.8207, allocations: 169.8 kB / 1.28 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.8208, allocations: 13.45 kB / 1.28 GB, free: 4.457 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.8211, allocations: 23.25 kB / 1.28 GB, free: 4.453 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/0.8212, allocations: 39.42 kB / 1.28 GB, free: 4.441 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.8212, allocations: 11.56 kB / 1.28 GB, free: 4.438 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003595/0.8216, allocations: 331.2 kB / 1.28 GB, free: 4.289 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/0.8216, allocations: 0 / 1.28 GB, free: 4.289 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006211/0.8222, allocations: 141.8 kB / 1.281 GB, free: 4.273 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.001289/0.8235, allocations: 1.253 MB / 1.282 GB, free: 3.336 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.8249, allocations: 1.05 MB / 1.283 GB, free: 2.633 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.825, allocations: 1.156 kB / 1.283 GB, free: 2.633 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008491/0.8258, allocations: 0.732 MB / 1.283 GB, free: 2.031 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.8268, allocations: 209 kB / 1.284 GB, free: 1.969 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006714/0.8336, allocations: 5.101 MB / 1.289 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/0.8341, allocations: 0.9099 MB / 1.29 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003655/0.8345, allocations: 120 kB / 1.29 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.8348, allocations: 194.8 kB / 1.29 GB, free: 13.87 MB / 1.029 GB Notification: Performance of SimCode: time 4.5e-07/0.8348, allocations: 3.938 kB / 1.29 GB, free: 13.87 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04595/0.8807, allocations: 12.71 MB / 1.302 GB, free: 12.83 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.09, allocations: 12.11 kB / 1.302 GB, free: 12.82 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches