Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_9_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.001757/0.001758, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002149/0.002149, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.319/2.319, allocations: 390.2 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.89 kB / 0.8126 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5826, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004984/0.5877, allocations: 4.85 MB / 0.9545 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003133/0.5908, allocations: 2.45 MB / 0.9568 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.5911, allocations: 27.41 kB / 0.9569 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009786/0.5921, allocations: 402 kB / 0.9573 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007576/0.5929, allocations: 444 kB / 0.9577 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006799/0.5936, allocations: 374.1 kB / 0.958 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006786/0.5943, allocations: 0.9094 MB / 0.9589 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004204/0.5947, allocations: 359.8 kB / 0.9593 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.595, allocations: 339.2 kB / 0.9596 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003625/0.5954, allocations: 344.7 kB / 0.9599 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/0.5955, allocations: 38.31 kB / 0.96 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005708/0.5961, allocations: 403.9 kB / 0.9603 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.5962, allocations: 184.2 kB / 0.9605 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.5965, allocations: 318 kB / 0.9608 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007177/0.5972, allocations: 0.8759 MB / 0.9617 GB, free: 280 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5972, allocations: 0 / 0.9617 GB, free: 280 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5972, allocations: 0 / 0.9617 GB, free: 280 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.5972, allocations: 1.281 kB / 0.9617 GB, free: 280 kB / 0.7169 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.001265/0.5985, allocations: 0.9376 MB / 0.9626 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.5986, allocations: 9.656 kB / 0.9626 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.439e-05/0.5987, allocations: 99.59 kB / 0.9627 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.5999, allocations: 201.4 kB / 0.9629 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006239/0.6005, allocations: 489.5 kB / 0.9634 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.6006, allocations: 35.23 kB / 0.9634 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.6006, allocations: 40.59 kB / 0.9634 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.6017, allocations: 0.8563 MB / 0.9643 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.6017, allocations: 11.22 kB / 0.9643 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.6018, allocations: 24.27 kB / 0.9643 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.064e-05/0.6019, allocations: 65.95 kB / 0.9644 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008237/0.6027, allocations: 0.5595 MB / 0.9649 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003917/0.6066, allocations: 5.66 MB / 0.9704 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006138/0.6072, allocations: 450.9 kB / 0.9709 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.6075, allocations: 223.7 kB / 0.9711 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.6076, allocations: 4.125 kB / 0.9711 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.6076, allocations: 40 kB / 0.9711 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 1.813e-06/0.6076, allocations: 0 / 0.9711 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002468/0.6101, allocations: 1.504 MB / 0.9726 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.6101, allocations: 59.16 kB / 0.9726 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006725/0.6108, allocations: 0.4954 MB / 0.9731 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.6109, allocations: 31.23 kB / 0.9732 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.6111, allocations: 351.8 kB / 0.9735 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.372e-05/0.6112, allocations: 122.2 kB / 0.9736 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.6114, allocations: 112.2 kB / 0.9737 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6115, allocations: 362.9 kB / 0.9741 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.6118, allocations: 198.8 kB / 0.9743 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.6122, allocations: 440.5 kB / 0.9747 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007767/0.613, allocations: 0.701 MB / 0.9754 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.613, allocations: 2.312 kB / 0.9754 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001243/0.6142, allocations: 0.7962 MB / 0.9761 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.6143, allocations: 12.75 kB / 0.9762 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.6143, allocations: 8.562 kB / 0.9762 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000467/0.6148, allocations: 156.9 kB / 0.9763 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.6152, allocations: 122.6 kB / 0.9764 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003024/0.6183, allocations: 4.348 MB / 0.9807 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.6187, allocations: 32.59 kB / 0.9807 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.6187, allocations: 27.81 kB / 0.9807 GB, free: 15.54 MB / 0.7481 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.0002366/0.619, allocations: 222.1 kB / 0.9809 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.985e-05/0.619, allocations: 60.91 kB / 0.981 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009941/0.62, allocations: 0.5936 MB / 0.9816 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6201, allocations: 3.844 kB / 0.9816 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6201, allocations: 5.297 kB / 0.9816 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6201, allocations: 9.422 kB / 0.9816 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.6218, allocations: 1.261 MB / 0.9828 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6218, allocations: 6 kB / 0.9828 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.6221, allocations: 54.23 kB / 0.9829 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000387/0.6225, allocations: 141 kB / 0.983 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.6225, allocations: 14.88 kB / 0.983 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002891/0.6254, allocations: 4.327 MB / 0.9873 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6254, allocations: 3.984 kB / 0.9873 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009736/0.6264, allocations: 0.7159 MB / 0.988 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.6266, allocations: 172.3 kB / 0.9881 GB, free: 8.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.6267, allocations: 11.98 kB / 0.9881 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.627, allocations: 27.97 kB / 0.9882 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.627, allocations: 27.91 kB / 0.9882 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.6271, allocations: 11.94 kB / 0.9882 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004248/0.6275, allocations: 334.8 kB / 0.9885 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6275, allocations: 0 / 0.9885 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006371/0.6281, allocations: 144 kB / 0.9887 GB, free: 7.77 MB / 0.7481 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.001191/0.6293, allocations: 1.249 MB / 0.9899 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.6307, allocations: 1.091 MB / 0.9909 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6307, allocations: 0 / 0.9909 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007921/0.6315, allocations: 0.7308 MB / 0.9917 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009813/0.6325, allocations: 199.7 kB / 0.9919 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005836/0.6384, allocations: 5.2 MB / 0.9969 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.6388, allocations: 0.9057 MB / 0.9978 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003469/0.6392, allocations: 117.3 kB / 0.9979 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.6394, allocations: 191.4 kB / 0.9981 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of SimCode: time 4.01e-07/0.6394, allocations: 0 / 0.9981 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03435/0.6737, allocations: 12.54 MB / 1.01 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.8, allocations: 4.969 kB / 1.01 GB, free: 1.152 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches