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.004971/0.004971, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001305/0.001305, allocations: 202.5 kB / 16.68 MB, free: 5.973 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.674/2.674, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2668, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006435/0.2732, allocations: 4.847 MB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003851/0.2771, allocations: 2.459 MB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.2773, allocations: 23.72 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.2785, allocations: 400.9 kB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008565/0.2793, allocations: 441.7 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007545/0.2801, allocations: 378.7 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009598/0.2811, allocations: 0.9173 MB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005141/0.2816, allocations: 350.8 kB / 1.176 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004071/0.282, allocations: 338.7 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004539/0.2825, allocations: 346.5 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.54e-05/0.2826, allocations: 40 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006345/0.2832, allocations: 403.1 kB / 1.177 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.2834, allocations: 187.3 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.2837, allocations: 310.3 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.2847, allocations: 0.887 MB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2847, allocations: 3.984 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2848, allocations: 3.938 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.2848, allocations: 0 / 1.178 GB, free: 10.98 MB / 0.9356 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.001398/0.2862, allocations: 0.9649 MB / 1.179 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.2862, allocations: 8.031 kB / 1.179 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.2863, allocations: 90.7 kB / 1.179 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.2876, allocations: 208.2 kB / 1.179 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008924/0.2885, allocations: 0.5339 MB / 1.18 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.2886, allocations: 37.36 kB / 1.18 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/0.2886, allocations: 40.38 kB / 1.18 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.2898, allocations: 0.8599 MB / 1.181 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.2899, allocations: 11.94 kB / 1.181 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/0.2899, allocations: 23.98 kB / 1.181 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.29, allocations: 60.95 kB / 1.181 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009558/0.291, allocations: 0.5656 MB / 1.181 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005102/0.2961, allocations: 5.655 MB / 1.187 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.2969, allocations: 454.7 kB / 1.187 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.2972, allocations: 232.7 kB / 1.188 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.2973, allocations: 0 / 1.188 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.426e-05/0.2973, allocations: 38.56 kB / 1.188 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.2973, allocations: 0 / 1.188 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002756/0.3001, allocations: 1.506 MB / 1.189 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.3001, allocations: 55.69 kB / 1.189 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005552/0.3007, allocations: 0.4912 MB / 1.19 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.3008, allocations: 29.7 kB / 1.19 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.301, allocations: 375.7 kB / 1.19 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.3012, allocations: 123 kB / 1.19 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.3013, allocations: 110.2 kB / 1.19 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3015, allocations: 362.8 kB / 1.191 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.3018, allocations: 193.2 kB / 1.191 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/0.3024, allocations: 451.3 kB / 1.191 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009067/0.3033, allocations: 0.6993 MB / 1.192 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3033, allocations: 4 kB / 1.192 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001365/0.3047, allocations: 0.8058 MB / 1.193 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3047, allocations: 15.94 kB / 1.193 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.3047, allocations: 8 kB / 1.193 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000506/0.3052, allocations: 160.4 kB / 1.193 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.3057, allocations: 119.8 kB / 1.193 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003906/0.3096, allocations: 4.348 MB / 1.197 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.31, allocations: 39.91 kB / 1.197 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.31, allocations: 28 kB / 1.197 GB, free: 5.84 MB / 0.9512 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.0002861/0.3103, allocations: 218.4 kB / 1.198 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.535e-05/0.3104, allocations: 63.58 kB / 1.198 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.3115, allocations: 0.6048 MB / 1.198 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.3116, allocations: 4 kB / 1.198 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3116, allocations: 4 kB / 1.198 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3116, allocations: 3.984 kB / 1.198 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.3135, allocations: 1.255 MB / 1.199 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3135, allocations: 0 / 1.199 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.3137, allocations: 55.89 kB / 1.199 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004252/0.3142, allocations: 140.4 kB / 1.2 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.3142, allocations: 15.94 kB / 1.2 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003917/0.3181, allocations: 4.333 MB / 1.204 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.3182, allocations: 4.031 kB / 1.204 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.3192, allocations: 0.7157 MB / 1.205 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.3194, allocations: 164.7 kB / 1.205 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/0.3195, allocations: 8 kB / 1.205 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.3198, allocations: 27.97 kB / 1.205 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.3199, allocations: 31.89 kB / 1.205 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.3199, allocations: 19.94 kB / 1.205 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003756/0.3203, allocations: 330.8 kB / 1.205 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3203, allocations: 0 / 1.205 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006009/0.3209, allocations: 140 kB / 1.205 GB, free: 13.09 MB / 0.9669 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.001506/0.3224, allocations: 1.258 MB / 1.206 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.3239, allocations: 1.052 MB / 1.207 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3239, allocations: 0 / 1.207 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009086/0.3248, allocations: 0.734 MB / 1.208 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009703/0.3258, allocations: 207.2 kB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006785/0.3326, allocations: 5.109 MB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.3332, allocations: 0.9019 MB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000309/0.3335, allocations: 113.3 kB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.3338, allocations: 195.4 kB / 1.215 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.3338, allocations: 3.938 kB / 1.215 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04555/0.3793, allocations: 12.71 MB / 1.227 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11, allocations: 5.25 kB / 1.227 GB, free: 6.43 MB / 0.9825 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