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.001343/0.001343, allocations: 108 kB / 15.6 MB, free: 132 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.001315/0.001315, allocations: 192 kB / 16.53 MB, free: 6.391 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.537/2.537, allocations: 437.1 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.91 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.577/0.5784, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006178/0.5846, allocations: 4.856 MB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003982/0.5886, allocations: 2.451 MB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004124/0.5891, allocations: 23.81 kB / 1.025 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.5903, allocations: 405.9 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.5914, allocations: 441.6 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008433/0.5923, allocations: 376.1 kB / 1.026 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009989/0.5933, allocations: 0.9057 MB / 1.027 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005389/0.5938, allocations: 360.7 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004785/0.5943, allocations: 334.6 kB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004778/0.5948, allocations: 346.5 kB / 1.028 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.654e-05/0.5949, allocations: 40 kB / 1.028 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006786/0.5956, allocations: 407.1 kB / 1.028 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.5958, allocations: 175.5 kB / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.5962, allocations: 322.2 kB / 1.029 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009559/0.5971, allocations: 0.8643 MB / 1.029 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5971, allocations: 4 kB / 1.029 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5971, allocations: 0 / 1.029 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.5972, allocations: 0 / 1.029 GB, free: 6.168 MB / 0.7794 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.001378/0.5985, allocations: 0.9424 MB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.5986, allocations: 12.03 kB / 1.03 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.966e-05/0.5987, allocations: 90.69 kB / 1.03 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.6, allocations: 207.7 kB / 1.031 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000623/0.6006, allocations: 490.4 kB / 1.031 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.6007, allocations: 37.36 kB / 1.031 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.6008, allocations: 40.38 kB / 1.031 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.6018, allocations: 0.8446 MB / 1.032 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.6018, allocations: 7.938 kB / 1.032 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.6019, allocations: 27.98 kB / 1.032 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.613e-05/0.602, allocations: 72.89 kB / 1.032 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008079/0.6028, allocations: 0.5617 MB / 1.033 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003891/0.6067, allocations: 5.662 MB / 1.038 GB, free: 12.57 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/0.6073, allocations: 462.1 kB / 1.039 GB, free: 12.11 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.6076, allocations: 229.3 kB / 1.039 GB, free: 11.88 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.6076, allocations: 3.984 kB / 1.039 GB, free: 11.88 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.6076, allocations: 34.56 kB / 1.039 GB, free: 11.84 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.6077, allocations: 4 kB / 1.039 GB, free: 11.83 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002376/0.61, allocations: 1.497 MB / 1.04 GB, free: 10.22 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.6101, allocations: 55.69 kB / 1.04 GB, free: 10.15 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.6106, allocations: 0.491 MB / 1.041 GB, free: 9.648 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.6106, allocations: 29.7 kB / 1.041 GB, free: 9.613 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.6108, allocations: 358.8 kB / 1.041 GB, free: 9.258 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.6109, allocations: 118.4 kB / 1.041 GB, free: 9.141 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.6111, allocations: 106.2 kB / 1.041 GB, free: 9.031 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6112, allocations: 370.8 kB / 1.042 GB, free: 8.66 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.6115, allocations: 193.2 kB / 1.042 GB, free: 8.469 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.6119, allocations: 451.3 kB / 1.042 GB, free: 7.914 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/0.6126, allocations: 0.6915 MB / 1.043 GB, free: 7.105 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.6126, allocations: 8 kB / 1.043 GB, free: 7.098 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001226/0.6139, allocations: 0.7941 MB / 1.044 GB, free: 6.281 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.6139, allocations: 8 kB / 1.044 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6139, allocations: 15.94 kB / 1.044 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000481/0.6144, allocations: 160.1 kB / 1.044 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.6148, allocations: 123.8 kB / 1.044 GB, free: 5.965 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.6178, allocations: 4.344 MB / 1.048 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.6182, allocations: 35.97 kB / 1.048 GB, free: 1.168 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.6183, allocations: 28 kB / 1.048 GB, free: 1.141 MB / 0.795 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.0002208/0.6185, allocations: 221.5 kB / 1.049 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.864e-05/0.6186, allocations: 59.25 kB / 1.049 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009474/0.6195, allocations: 0.6009 MB / 1.049 GB, free: 240 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.6195, allocations: 0 / 1.049 GB, free: 240 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6196, allocations: 7.938 kB / 1.049 GB, free: 232 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.6196, allocations: 3.984 kB / 1.049 GB, free: 228 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.6212, allocations: 1.258 MB / 1.051 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6213, allocations: 224 / 1.051 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.6215, allocations: 59.89 kB / 1.051 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003839/0.6219, allocations: 140.2 kB / 1.051 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.622, allocations: 11.94 kB / 1.051 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002906/0.6249, allocations: 4.341 MB / 1.055 GB, free: 9.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6249, allocations: 4 kB / 1.055 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/0.6258, allocations: 0.7037 MB / 1.056 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.626, allocations: 168.3 kB / 1.056 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.6261, allocations: 8 kB / 1.056 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.6264, allocations: 27.97 kB / 1.056 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.6264, allocations: 31.89 kB / 1.056 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.6265, allocations: 12 kB / 1.056 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003103/0.6268, allocations: 334.8 kB / 1.056 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6268, allocations: 3.938 kB / 1.056 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005923/0.6274, allocations: 140 kB / 1.056 GB, free: 8.398 MB / 0.8106 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.001168/0.6286, allocations: 1.254 MB / 1.058 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.6299, allocations: 1.087 MB / 1.059 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6299, allocations: 0 / 1.059 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007672/0.6307, allocations: 0.727 MB / 1.059 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009769/0.6317, allocations: 202.1 kB / 1.06 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005775/0.6375, allocations: 5.194 MB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.6379, allocations: 0.9097 MB / 1.066 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003498/0.6382, allocations: 125.3 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.6385, allocations: 191.4 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.6385, allocations: 4 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03715/0.6756, allocations: 12.54 MB / 1.078 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.261/9.936, allocations: 4.062 kB / 1.078 GB, free: 1.77 MB / 0.8262 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