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.00786/0.00786, allocations: 103.2 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.001915/0.001915, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.217/2.217, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 71.89 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6778/0.6791, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005173/0.6843, allocations: 4.851 MB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003585/0.6879, allocations: 2.451 MB / 1.095 GB, free: 236 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004108/0.6883, allocations: 23.91 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.6895, allocations: 402.5 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.6906, allocations: 444 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009072/0.6916, allocations: 368.8 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.6927, allocations: 0.9227 MB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006043/0.6933, allocations: 355.9 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004678/0.6938, allocations: 342.8 kB / 1.097 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004625/0.6943, allocations: 347.3 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.95e-05/0.6943, allocations: 37.66 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007464/0.6951, allocations: 397.9 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.6953, allocations: 185 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003303/0.6956, allocations: 317.7 kB / 1.099 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.6967, allocations: 0.8795 MB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6967, allocations: 0 / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6968, allocations: 0 / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.6968, allocations: 4 kB / 1.099 GB, free: 13.94 MB / 0.8731 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.001454/0.6982, allocations: 0.9422 MB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.6983, allocations: 8.844 kB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.6984, allocations: 94.19 kB / 1.1 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.6999, allocations: 205.3 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009011/0.7008, allocations: 0.5268 MB / 1.101 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.7009, allocations: 35.42 kB / 1.101 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-05/0.701, allocations: 46.77 kB / 1.101 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.7021, allocations: 0.844 MB / 1.102 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.7021, allocations: 7.375 kB / 1.102 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.7022, allocations: 24.23 kB / 1.102 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.7023, allocations: 69.83 kB / 1.102 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009968/0.7033, allocations: 0.5682 MB / 1.103 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/0.7075, allocations: 5.642 MB / 1.108 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.7081, allocations: 457.7 kB / 1.109 GB, free: 6.629 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.7085, allocations: 225 kB / 1.109 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.7085, allocations: 4.125 kB / 1.109 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.7085, allocations: 36.28 kB / 1.109 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.7085, allocations: 0 / 1.109 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002544/0.7111, allocations: 1.507 MB / 1.11 GB, free: 5.562 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.7111, allocations: 60.12 kB / 1.11 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/0.7117, allocations: 0.4892 MB / 1.111 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.7117, allocations: 30.86 kB / 1.111 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.7119, allocations: 352 kB / 1.111 GB, free: 4.941 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.194e-05/0.712, allocations: 122.8 kB / 1.111 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.7122, allocations: 107.6 kB / 1.112 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.7123, allocations: 364.9 kB / 1.112 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.7126, allocations: 201 kB / 1.112 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.7131, allocations: 442.1 kB / 1.112 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/0.7139, allocations: 0.6932 MB / 1.113 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7139, allocations: 1.531 kB / 1.113 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001265/0.7152, allocations: 0.8156 MB / 1.114 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.7152, allocations: 10.02 kB / 1.114 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.7152, allocations: 7.531 kB / 1.114 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.7157, allocations: 162.1 kB / 1.114 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/0.7162, allocations: 121.8 kB / 1.114 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/0.7194, allocations: 4.337 MB / 1.118 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.7198, allocations: 34.23 kB / 1.118 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.7199, allocations: 31.38 kB / 1.119 GB, free: 14.72 MB / 0.8887 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.0002641/0.7201, allocations: 219.6 kB / 1.119 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/0.7202, allocations: 60.94 kB / 1.119 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.7213, allocations: 0.602 MB / 1.119 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.7213, allocations: 4.578 kB / 1.119 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.7213, allocations: 1.375 kB / 1.119 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.7213, allocations: 6.547 kB / 1.119 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.7232, allocations: 1.262 MB / 1.121 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.7232, allocations: 2.625 kB / 1.121 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.7235, allocations: 54.28 kB / 1.121 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004073/0.7239, allocations: 143.8 kB / 1.121 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.7239, allocations: 12.34 kB / 1.121 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003047/0.727, allocations: 4.332 MB / 1.125 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.727, allocations: 2.938 kB / 1.125 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.7281, allocations: 0.7192 MB / 1.126 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.7283, allocations: 164.5 kB / 1.126 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.113e-05/0.7284, allocations: 13 kB / 1.126 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.7287, allocations: 23.33 kB / 1.126 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/0.7288, allocations: 30.88 kB / 1.126 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.7288, allocations: 8.922 kB / 1.126 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003841/0.7292, allocations: 333.4 kB / 1.126 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7292, allocations: 4 kB / 1.126 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006954/0.7299, allocations: 138.6 kB / 1.126 GB, free: 8.41 MB / 0.8887 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.001294/0.7312, allocations: 1.257 MB / 1.128 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.7327, allocations: 1.037 MB / 1.129 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7327, allocations: 1.25 kB / 1.129 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000856/0.7336, allocations: 0.7375 MB / 1.129 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.7347, allocations: 207.5 kB / 1.13 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007212/0.7419, allocations: 5.095 MB / 1.135 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006837/0.7426, allocations: 0.9065 MB / 1.135 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000497/0.7431, allocations: 118 kB / 1.136 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.7434, allocations: 194.9 kB / 1.136 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of SimCode: time 8.72e-07/0.7434, allocations: 0 / 1.136 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04139/0.7848, allocations: 12.71 MB / 1.148 GB, free: 28 kB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.79, allocations: 8.438 kB / 1.148 GB, free: 24 kB / 0.8887 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