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.007277/0.007277, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001799/0.001799, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.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.383/2.383, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.83 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6619/0.6633, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005903/0.6692, allocations: 4.847 MB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003702/0.6729, allocations: 2.459 MB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.6733, allocations: 23.81 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.6745, allocations: 398.9 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009702/0.6754, allocations: 465.6 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007687/0.6762, allocations: 378.1 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008158/0.677, allocations: 0.9135 MB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004537/0.6775, allocations: 354.4 kB / 1.176 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/0.6779, allocations: 342.7 kB / 1.176 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.6782, allocations: 346.5 kB / 1.176 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.658e-05/0.6783, allocations: 39.94 kB / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005495/0.6789, allocations: 407.1 kB / 1.177 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.679, allocations: 179.4 kB / 1.177 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002692/0.6793, allocations: 326.2 kB / 1.177 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008389/0.6802, allocations: 0.8867 MB / 1.178 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6802, allocations: 0 / 1.178 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6802, allocations: 0 / 1.178 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.6802, allocations: 0 / 1.178 GB, free: 7.441 MB / 0.9044 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.001184/0.6814, allocations: 0.9572 MB / 1.179 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.6814, allocations: 16.86 kB / 1.179 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.775e-05/0.6815, allocations: 94.69 kB / 1.179 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.6827, allocations: 216.1 kB / 1.179 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006903/0.6834, allocations: 0.5339 MB / 1.18 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.6835, allocations: 33.38 kB / 1.18 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.528e-05/0.6835, allocations: 44.36 kB / 1.18 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009422/0.6845, allocations: 0.8446 MB / 1.181 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.6845, allocations: 7.938 kB / 1.181 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/0.6846, allocations: 23.98 kB / 1.181 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.463e-05/0.6847, allocations: 64.95 kB / 1.181 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007855/0.6855, allocations: 0.5734 MB / 1.181 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003773/0.6892, allocations: 5.643 MB / 1.187 GB, free: 13.77 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/0.6898, allocations: 462.1 kB / 1.187 GB, free: 13.31 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.6901, allocations: 236.7 kB / 1.188 GB, free: 13.08 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.6902, allocations: 4 kB / 1.188 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.6902, allocations: 30.56 kB / 1.188 GB, free: 13.04 MB / 0.92 GB Notification: Performance of pre-optimization done (n=32): time 2.675e-06/0.6902, allocations: 0 / 1.188 GB, free: 13.04 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.002331/0.6925, allocations: 1.512 MB / 1.189 GB, free: 11.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.6926, allocations: 55.69 kB / 1.189 GB, free: 11.34 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.693, allocations: 0.495 MB / 1.19 GB, free: 10.84 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.6931, allocations: 33.7 kB / 1.19 GB, free: 10.8 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.6933, allocations: 359.8 kB / 1.19 GB, free: 10.45 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.664e-05/0.6934, allocations: 127 kB / 1.19 GB, free: 10.32 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.6935, allocations: 106.2 kB / 1.19 GB, free: 10.21 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6936, allocations: 362.8 kB / 1.191 GB, free: 9.848 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.6939, allocations: 201.2 kB / 1.191 GB, free: 9.648 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.6943, allocations: 448.8 kB / 1.191 GB, free: 9.098 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007325/0.6951, allocations: 0.6882 MB / 1.192 GB, free: 8.293 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6951, allocations: 4 kB / 1.192 GB, free: 8.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001189/0.6963, allocations: 0.8135 MB / 1.193 GB, free: 7.453 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.6963, allocations: 8 kB / 1.193 GB, free: 7.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.6963, allocations: 8 kB / 1.193 GB, free: 7.438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004626/0.6968, allocations: 156.5 kB / 1.193 GB, free: 7.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.6972, allocations: 127.7 kB / 1.193 GB, free: 7.145 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.7002, allocations: 4.352 MB / 1.197 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.7005, allocations: 31.97 kB / 1.197 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.7006, allocations: 28 kB / 1.197 GB, free: 2.316 MB / 0.92 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.0002186/0.7008, allocations: 222.1 kB / 1.198 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.357e-05/0.7009, allocations: 67.58 kB / 1.198 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009887/0.7019, allocations: 0.5971 MB / 1.198 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.7019, allocations: 4 kB / 1.198 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.7019, allocations: 7.938 kB / 1.198 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.7019, allocations: 0 / 1.198 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.7035, allocations: 1.254 MB / 1.199 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7036, allocations: 4 kB / 1.199 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.7038, allocations: 51.94 kB / 1.199 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003925/0.7042, allocations: 140.3 kB / 1.2 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.7043, allocations: 15.94 kB / 1.2 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002837/0.7071, allocations: 4.341 MB / 1.204 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7071, allocations: 7.969 kB / 1.204 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009123/0.7081, allocations: 0.7157 MB / 1.205 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.7082, allocations: 172.7 kB / 1.205 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.7083, allocations: 8 kB / 1.205 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.7086, allocations: 23.97 kB / 1.205 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.7086, allocations: 31.91 kB / 1.205 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.7087, allocations: 12 kB / 1.205 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000307/0.709, allocations: 330.8 kB / 1.205 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.709, allocations: 0 / 1.205 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005566/0.7096, allocations: 140 kB / 1.205 GB, free: 9.562 MB / 0.9356 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.001165/0.7107, allocations: 1.261 MB / 1.206 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.712, allocations: 1.053 MB / 1.208 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.712, allocations: 0 / 1.208 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000766/0.7128, allocations: 0.7341 MB / 1.208 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009588/0.7137, allocations: 210.9 kB / 1.208 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005446/0.7192, allocations: 5.105 MB / 1.213 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.7197, allocations: 0.9059 MB / 1.214 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002816/0.7199, allocations: 117.3 kB / 1.214 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.7202, allocations: 195.4 kB / 1.215 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/0.7202, allocations: 0 / 1.215 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.7539, allocations: 12.71 MB / 1.227 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11.02, allocations: 8.094 kB / 1.227 GB, free: 2.863 MB / 0.9512 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